feat: pop3 capa fix

This commit is contained in:
xh4vm 2025-06-29 19:22:31 +05:00
parent e762093915
commit 5ddee91edc

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;
} }
} }