From 3c8f9d89841e675988b28ee1bf6208c4975afe08 Mon Sep 17 00:00:00 2001 From: Aki Tuomi Date: Thu, 9 Jul 2020 09:39:48 +0300 Subject: [PATCH] pop3-login: Consume line after mech probe Otherwise we read next line empty and that causes -ERR. Broken in 6c55437036b3de11804eb68f66d84cb164c33d63 --- src/pop3-login/client-authenticate.c | 1 + 1 file changed, 1 insertion(+) 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); -- 2.47.3