Original error was:
wmnotify: Connection reset by peer
Error in file "network.c" at line #249
status = IMAP4_SendCommand(3, argv);
if (status != EXIT_SUCCESS) {
new_messages = -1;
- goto imap4_logout;
+ goto imap4_connection_terminate;
}
/* Selecting the mailbox first. */
if (status != EXIT_SUCCESS)
new_messages = -1;
+imap4_connection_terminate:
status = ConnectionTerminate();
if (status != EXIT_SUCCESS)
new_messages = -1;