Skip to content

Commit

Permalink
lib-imap-client: Remove assert from imapc_client_mailbox_reconnect
Browse files Browse the repository at this point in the history
It's possible for the assert to trigger if there are multiple reconnections.
imapc_connection_can_reconnect() checks a bit later whether the reconnection
can still be done.
  • Loading branch information
sirainen committed Jun 26, 2018
1 parent 6a20890 commit a4a1c84
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/lib-imap-client/imapc-client.c
Expand Up @@ -410,8 +410,6 @@ bool imapc_client_mailbox_can_reconnect(struct imapc_client_mailbox *box)
void imapc_client_mailbox_reconnect(struct imapc_client_mailbox *box,
const char *errmsg)
{
i_assert(!box->reconnecting);

imapc_connection_try_reconnect(box->conn, errmsg, 0, FALSE);
}

Expand Down

0 comments on commit a4a1c84

Please sign in to comment.