]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
pop3: fix multi-line with LIST arg
authorStefan Eissing <stefan@eissing.org>
Fri, 6 Sep 2024 07:43:38 +0000 (09:43 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 6 Sep 2024 08:42:14 +0000 (10:42 +0200)
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

lib/pop3.c

index 1d12a71632cfcee4fc1c6fcb0217be2a22534248..1f5334d917d280a5de1c0ada76bc48402651173d 100644 (file)
@@ -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 },