Skip to content

Commit

Permalink
imap: Fix unhibernation after earlier change
Browse files Browse the repository at this point in the history
  • Loading branch information
sirainen committed May 22, 2017
1 parent 9c42095 commit bbcda8a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/imap/imap-master-client.c
Expand Up @@ -228,6 +228,11 @@ imap_master_client_input_args(struct connection *conn, const char *const *args,
i_close_fd(&fd_client);
return -1;
}
if (mail_namespaces_init(imap_client->user, &error) < 0) {
i_error("%s", error);
client_destroy(imap_client, error);
return -1;
}
/* log prefix is set at this point, so we don't need to add the
username anymore to the log messages */
client->imap_client_created = TRUE;
Expand Down

0 comments on commit bbcda8a

Please sign in to comment.