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
This commit is contained in:
Stefan Eissing 2024-09-06 09:43:38 +02:00 committed by Daniel Stenberg
parent 435dd8aa6e
commit b1f0b8f601
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View 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 },