Mercurial > dovecot > core-2.2
view src/indexer/indexer-client.h @ 22310:a28f5bfb15fc
fts: Do not attempt to deinitialize backend if it's not set
If FTS backend initialization fails or does not happen,
flist->backend might end up being NULL, and attempt to
deinitialize NULL won't end well.
author | Aki Tuomi <aki.tuomi@dovecot.fi> |
---|---|
date | Wed, 17 May 2017 12:26:42 +0300 |
parents | af8c5e56d098 |
children |
line wrap: on
line source
#ifndef INDEXER_CLIENT_H #define INDEXER_CLIENT_H struct indexer_queue; struct indexer_client * indexer_client_create(int fd, struct indexer_queue *queue); void indexer_client_status_callback(int percentage, void *context); unsigned int indexer_clients_get_count(void); void indexer_clients_destroy_all(void); #endif