aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-03-07 17:06:51 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-03-07 17:06:51 +0000
commit133a1630f9b76ea28ef59595c45f681aeb34319a (patch)
tree4d38acdcbb944670667ea8e526e95c3ae174c484
parent319e585aca5112d97b56b38ece4a552747043bba (diff)
downloadfetchmail-133a1630f9b76ea28ef59595c45f681aeb34319a.tar.gz
fetchmail-133a1630f9b76ea28ef59595c45f681aeb34319a.tar.bz2
fetchmail-133a1630f9b76ea28ef59595c45f681aeb34319a.zip
Move an initialization to be more perspicuous.
svn path=/trunk/; revision=920
-rw-r--r--rfc822.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/rfc822.c b/rfc822.c
index f7a74212..65337ce7 100644
--- a/rfc822.c
+++ b/rfc822.c
@@ -138,6 +138,7 @@ const char *hdr; /* header to be parsed, NUL to continue previous hdr */
#ifdef TESTMAIN
orighdr = hdr;
#endif /* TESTMAIN */
+ tp = address;
}
for (; *hp; hp++)
@@ -172,10 +173,7 @@ const char *hdr; /* header to be parsed, NUL to continue previous hdr */
{
case START_HDR: /* before header colon */
if (*hp == ':')
- {
state = SKIP_JUNK;
- tp = address;
- }
break;
case SKIP_JUNK: /* looking for address start */