From: Stefan Eissing Date: Fri, 6 Sep 2024 07:43:38 +0000 (+0200) Subject: pop3: fix multi-line with LIST arg X-Git-Tag: curl-8_10_0~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1f0b8f60177c982299ceed18de3f89817424dce;p=thirdparty%2Fcurl.git pop3: fix multi-line with LIST arg The POP3 LIST command is not multi-line when having an argument. Fix the definition to correct the behaviour. Reported-by: ralfjunker on github Fixes #14801 Closes #14808 --- diff --git a/lib/pop3.c b/lib/pop3.c index 1d12a71632..1f5334d917 100644 --- a/lib/pop3.c +++ b/lib/pop3.c @@ -215,7 +215,7 @@ static const struct pop3_cmd pop3cmds[] = { { "AUTH", 4, FALSE, FALSE }, { "CAPA", 4, TRUE, TRUE }, { "DELE", 4, FALSE, FALSE }, - { "LIST", 4, TRUE, TRUE }, + { "LIST", 4, TRUE, FALSE }, { "MSG", 3, TRUE, TRUE }, { "NOOP", 4, FALSE, FALSE }, { "PASS", 4, FALSE, FALSE },