diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2001-08-10 19:03:23 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2001-08-10 19:03:23 +0000 |
commit | b2e8fd732ce5e827b86f659bf7f93c5543c8ad78 (patch) | |
tree | 26efb5cca8141ed857dbb2c8320fa4e6ae4d21bc /rfc822.c | |
parent | bc50723b35477d6d8e8305c7180762d89813dccd (diff) | |
download | fetchmail-b2e8fd732ce5e827b86f659bf7f93c5543c8ad78.tar.gz fetchmail-b2e8fd732ce5e827b86f659bf7f93c5543c8ad78.tar.bz2 fetchmail-b2e8fd732ce5e827b86f659bf7f93c5543c8ad78.zip |
Ready to ship.
svn path=/trunk/; revision=3452
Diffstat (limited to 'rfc822.c')
-rw-r--r-- | rfc822.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -315,6 +315,12 @@ const unsigned char *hdr; /* header to be parsed, NUL to continue previous hdr * state = INSIDE_BRACKETS; tp = 0; } + else if (*hp == '"') /* quoted word, copy verbatim */ + { + oldstate = state; + state = INSIDE_DQUOTE; + address[NEXTTP()] = *hp; + } else if (!isspace(*hp)) /* just take it, ignoring whitespace */ address[NEXTTP()] = *hp; break; |