]> granicus.if.org Git - neomutt/commitdiff
Fix IMAP auth w/o IR to not hang on failed authentication
authorPietro Cerutti <gahr@gahr.ch>
Wed, 10 Oct 2018 14:13:23 +0000 (14:13 +0000)
committerPietro Cerutti <gahr@gahr.ch>
Wed, 10 Oct 2018 14:13:23 +0000 (14:13 +0000)
imap/auth_plain.c

index 723f9b97a4da7e7da46dc343492068a14df0d214..800a952185bcad7147506cba0a4f78933c1c290c 100644 (file)
@@ -79,6 +79,7 @@ enum ImapAuthRes imap_auth_plain(struct ImapAccountData *adata, const char *meth
       mutt_str_strcat(buf + sizeof(auth_plain_cmd),
                       sizeof(buf) - sizeof(auth_plain_cmd), "\r\n");
       mutt_socket_send(adata->conn, buf + sizeof(auth_plain_cmd));
+      rc = IMAP_CMD_CONTINUE;
     }
   }