diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2002-06-04 13:10:47 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2002-06-04 13:10:47 +0000 |
commit | cfb9aaacebc282e7c32546ad3ff9c706d51c4ce6 (patch) | |
tree | dfa017c1e11325cfa5c02df5674a0b44489840f9 /transact.c | |
parent | 95e345feeff00c6a2553f0873795e9712e4bcf5e (diff) | |
download | fetchmail-cfb9aaacebc282e7c32546ad3ff9c706d51c4ce6.tar.gz fetchmail-cfb9aaacebc282e7c32546ad3ff9c706d51c4ce6.tar.bz2 fetchmail-cfb9aaacebc282e7c32546ad3ff9c706d51c4ce6.zip |
Skip empty addresses.
svn path=/trunk/; revision=3626
Diffstat (limited to 'transact.c')
-rw-r--r-- | transact.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -92,6 +92,13 @@ static void find_server_names(const char *hdr, { char *atsign; + /* + * Handle empty address from a To: header containing only + * a comment. + */ + if (!*cp) + continue; + /* * If the name of the user begins with a qmail virtual * domain prefix, ignore the prefix. Doing this here @@ -474,6 +481,7 @@ int readheaders(int sock, */ if (protocol->delimited && line[0] == '.' && EMPTYLINE(line+1)) { + headers_ok = FALSE; has_nuls = (linelen != strlen(line)); free(line); goto process_headers; |