Mercurial > dovecot > core-2.2
view src/login-common/access-lookup.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 | 51a978045f47 |
children |
line wrap: on
line source
#ifndef ACCESS_LOOKUP_H #define ACCESS_LOOKUP_H typedef void access_lookup_callback_t(bool success, void *context); struct access_lookup * access_lookup(const char *path, int client_fd, const char *daemon_name, access_lookup_callback_t *callback, void *context); void access_lookup_destroy(struct access_lookup **lookup); #endif