diff options
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 */ |