aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-01-16 03:50:29 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-01-16 03:50:29 +0000
commit80a0b81f4a29dab2e19323009ea19d6d1667b07b (patch)
tree067f4729e6520533ea342b8546bf4c34692e95ef
parent74191b293c958b8e261ef874061d6c545c3d0dec (diff)
downloadfetchmail-80a0b81f4a29dab2e19323009ea19d6d1667b07b.tar.gz
fetchmail-80a0b81f4a29dab2e19323009ea19d6d1667b07b.tar.bz2
fetchmail-80a0b81f4a29dab2e19323009ea19d6d1667b07b.zip
Simplification time.
svn path=/trunk/; revision=777
-rw-r--r--driver.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/driver.c b/driver.c
index c948119b..6acbd6fd 100644
--- a/driver.c
+++ b/driver.c
@@ -309,7 +309,7 @@ char *realname; /* real name of host */
char *bufp, *headers, *fromhdr,*tohdr,*cchdr,*bcchdr,*received_for,*envto;
char *fromptr, *toptr;
int n, oldlen, ch;
- int inheaders,lines,sizeticker;
+ int inheaders, sizeticker;
FILE *sinkfp;
RETSIGTYPE (*sigchld)();
#ifdef HAVE_GETHOSTBYNAME
@@ -319,7 +319,6 @@ char *realname; /* real name of host */
/* read the message content from the server */
inheaders = 1;
headers = fromhdr = tohdr = cchdr = bcchdr = received_for = envto = NULL;
- lines = 0;
sizeticker = 0;
oldlen = 0;
while (delimited || len > 0)
@@ -362,7 +361,7 @@ char *realname; /* real name of host */
if (!ctl->norewrite)
reply_hack(bufp, realname);
- if (!lines)
+ if (!headers)
{
oldlen = strlen(bufp);
headers = xmalloc(oldlen + 1);
@@ -466,7 +465,7 @@ char *realname; /* real name of host */
}
#endif /* HAVE_RES_SEARCH */
- goto skipwrite;
+ continue;
}
else if (headers) /* OK, we're at end of headers now */
{
@@ -726,9 +725,6 @@ char *realname; /* real name of host */
}
else if (outlevel == O_VERBOSE)
fputc('*', stderr);
-
- skipwrite:;
- lines++;
}
if (outlevel == O_VERBOSE)