diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-09-10 08:34:01 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-09-10 08:34:01 +0000 |
commit | 92aafe12f8d116284a5431aa49280d5174c5936a (patch) | |
tree | de997011c289d3706fb9cc8d8c57873c592584ed /rfc822.c | |
parent | 67ac0ff0b31808b4b32c313fc80065c040b2a4de (diff) | |
download | fetchmail-92aafe12f8d116284a5431aa49280d5174c5936a.tar.gz fetchmail-92aafe12f8d116284a5431aa49280d5174c5936a.tar.bz2 fetchmail-92aafe12f8d116284a5431aa49280d5174c5936a.zip |
Fix nasty single-char-adddress bug in multidrop mode.
svn path=/trunk/; revision=1327
Diffstat (limited to 'rfc822.c')
-rw-r--r-- | rfc822.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -164,9 +164,11 @@ const char *hdr; /* header to be parsed, NUL to continue previous hdr */ { state = ENDIT_ALL; if (tp > address) + { while (isspace(*--tp)) continue; - *++tp = '\0'; + *++tp = '\0'; + } return(tp > address ? (tp = address) : (char *)NULL); } else if (*hp == '\\') /* handle RFC822 escaping */ |