diff options
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | pop3.c | 3 |
2 files changed, 4 insertions, 0 deletions
@@ -124,6 +124,7 @@ fetchmail-6.4.22 (not yet released): --plugout "". * Fetchmail no longer leaks memory when processing the arguments of --plugin or --plugout on connections. +* On POP3 connections, the CAPAbilities parser is now caseblind. # CHANGES: * IMAP: When fetchmail is in not-authenticated state and the server volunteers @@ -222,6 +222,7 @@ static int capa_probe(int sock) if (ok == PS_SUCCESS) { char buffer[64]; + char *cp; /* determine what authentication methods we have available */ while ((ok = gen_recv(sock, buffer, sizeof(buffer))) == 0) @@ -229,6 +230,8 @@ static int capa_probe(int sock) if (DOTLINE(buffer)) break; + for (cp = buffer; *cp; cp++) *cp = toupper((unsigned char)*cp); + #ifdef SSL_ENABLE if (strstr(buffer, "STLS")) has_stls = TRUE; |