/*
- * Copyright (C) 2000 Brendan Cully <brendan@kublai.com>
+ * Copyright (C) 2000-1 Brendan Cully <brendan@kublai.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
strfcpy (buf + olen, "\r\n", sizeof (buf) - olen);
mutt_socket_write (idata->conn, buf);
}
+
+ /* If SASL has errored out, send an abort string to the server */
+ if (rc < 0)
+ {
+ mutt_socket_write (idata->conn, "*\r\n");
+ }
}
while (irc != IMAP_CMD_DONE)