extern imap_client_created_func_t *hook_client_created;
extern bool imap_debug;
+extern bool verbose_proctitle;
extern struct event_category event_category_imap;
/* Sets the hook_client_created and returns the previous hook,
i_close_fd(&fd_client);
return -1;
}
- process_title_set("[unhibernating]");
+ if (verbose_proctitle)
+ process_title_set("[unhibernating]");
/* NOTE: before client_create_from_input() on failures we need to close
fd_client, but afterward it gets closed by client_destroy() */
#define IMAP_DIE_IDLE_SECS 10
-static bool verbose_proctitle = FALSE;
static struct mail_storage_service_ctx *storage_service;
static struct login_server *login_server = NULL;
static struct timeout *to_proctitle;
imap_client_created_func_t *hook_client_created = NULL;
bool imap_debug = FALSE;
+bool verbose_proctitle = FALSE;
struct event_category event_category_imap = {
.name = "imap",
imap_client_created_func_t *hook_client_created = NULL;
bool imap_debug = FALSE;
+bool verbose_proctitle = FALSE;
static const char *tmpdir;
static struct mail_storage_service_ctx *storage_service;