Merge pull request #1020 from xh4vm/master
Some checks failed
release / Build the docker image (push) Has been cancelled

POP3 CAPA response fix
This commit is contained in:
van Hauser 2025-06-29 17:00:04 +02:00 committed by GitHub
commit 8e6ccbba8e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -109,7 +109,7 @@ char *pop3_read_server_capacity(int32_t sock) {
buf[strlen(buf) - 1] = 0; buf[strlen(buf) - 1] = 0;
if (buf[strlen(buf) - 1] == '\r') if (buf[strlen(buf) - 1] == '\r')
buf[strlen(buf) - 1] = 0; buf[strlen(buf) - 1] = 0;
if (*(ptr) == '.' || *(ptr) == '-') if (buf[strlen(buf) - 1] == '.' || *(ptr) == '.' || *(ptr) == '-')
resp = 1; resp = 1;
} }
} }