aboutsummaryrefslogtreecommitdiffstats
path: root/rfc822.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-03-07 14:32:43 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-03-07 14:32:43 +0000
commit9ff30b595fcce9126cb44c155449aa218fdcefc7 (patch)
treea3a27e8d55e6219f161aaf2d272d5fb43b9e99e4 /rfc822.c
parent3a86e7e6d5137d352ea61ce10c799632d21ab7d2 (diff)
downloadfetchmail-9ff30b595fcce9126cb44c155449aa218fdcefc7.tar.gz
fetchmail-9ff30b595fcce9126cb44c155449aa218fdcefc7.tar.bz2
fetchmail-9ff30b595fcce9126cb44c155449aa218fdcefc7.zip
Ready for the UIDL patch.
svn path=/trunk/; revision=918
Diffstat (limited to 'rfc822.c')
-rw-r--r--rfc822.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/rfc822.c b/rfc822.c
index 0d9f448b..f7a74212 100644
--- a/rfc822.c
+++ b/rfc822.c
@@ -162,8 +162,11 @@ const char *hdr; /* header to be parsed, NUL to continue previous hdr */
}
else if (*hp == '\\') /* handle RFC822 escaping */
{
- *tp++ = *hp++; /* take the escape */
- *tp++ = *hp; /* take following char */
+ if (state != INSIDE_PARENS)
+ {
+ *tp++ = *hp++; /* take the escape */
+ *tp++ = *hp; /* take following char */
+ }
}
else switch (state)
{