From: Aki Tuomi Date: Thu, 9 Jul 2020 06:39:48 +0000 (+0300) Subject: pop3-login: Consume line after mech probe X-Git-Tag: 2.3.13~462 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ca712bb6f42294ac8d98677785f2f29aae071fd;p=thirdparty%2Fdovecot%2Fcore.git pop3-login: Consume line after mech probe Otherwise we read next line empty and that causes -ERR. Broken in 6c55437036b3de11804eb68f66d84cb164c33d63 --- diff --git a/src/pop3-login/client-authenticate.c b/src/pop3-login/client-authenticate.c index 0f5531be0a..be202f0332 100644 --- a/src/pop3-login/client-authenticate.c +++ b/src/pop3-login/client-authenticate.c @@ -110,6 +110,7 @@ int cmd_auth(struct pop3_client *pop3_client, bool *parsed_r) } client_send_raw(client, ".\r\n"); *parsed_r = TRUE; + (void)i_stream_read_next_line(client->input); return 1; } i_free(client->auth_mech_name);