diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-01-16 03:50:29 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-01-16 03:50:29 +0000 |
commit | 80a0b81f4a29dab2e19323009ea19d6d1667b07b (patch) | |
tree | 067f4729e6520533ea342b8546bf4c34692e95ef | |
parent | 74191b293c958b8e261ef874061d6c545c3d0dec (diff) | |
download | fetchmail-80a0b81f4a29dab2e19323009ea19d6d1667b07b.tar.gz fetchmail-80a0b81f4a29dab2e19323009ea19d6d1667b07b.tar.bz2 fetchmail-80a0b81f4a29dab2e19323009ea19d6d1667b07b.zip |
Simplification time.
svn path=/trunk/; revision=777
-rw-r--r-- | driver.c | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -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) |