diff options
| author | Eric S. Raymond <esr@thyrsus.com> | 1997-09-26 10:12:42 +0000 | 
|---|---|---|
| committer | Eric S. Raymond <esr@thyrsus.com> | 1997-09-26 10:12:42 +0000 | 
| commit | a3d27049f568172fee01cc6814c99dac6dbdee3f (patch) | |
| tree | 96ef16d3dc9ea0f3ea55acbfa2613880c2ce6c9d | |
| parent | 684635a1c8f5e2e1db6b7888358a3799ac2f08a1 (diff) | |
| download | fetchmail-a3d27049f568172fee01cc6814c99dac6dbdee3f.tar.gz fetchmail-a3d27049f568172fee01cc6814c99dac6dbdee3f.tar.bz2 fetchmail-a3d27049f568172fee01cc6814c99dac6dbdee3f.zip | |
Message cleanup.
svn path=/trunk/; revision=1420
| -rw-r--r-- | driver.c | 12 | 
1 files changed, 8 insertions, 4 deletions
| @@ -1704,6 +1704,9 @@ const struct method *proto;	/* protocol method table */  			 */  			if (protocol->fetch_body)   			{ +			    if (outlevel == O_VERBOSE) +				fputc('\n', stderr); +  			    if ((ok = (protocol->trail)(sock, ctl, num)))  				goto cleanUp;  			    set_timeout(ctl->server.timeout); @@ -1734,6 +1737,9 @@ const struct method *proto;	/* protocol method table */  			    /* tell server we got it OK and resynchronize */  			    if (protocol->trail)  			    { +				if (outlevel == O_VERBOSE) +				    fputc('\n', stderr); +  				ok = (protocol->trail)(sock, ctl, num);  				if (ok != 0)  				    goto cleanUp; @@ -1741,14 +1747,12 @@ const struct method *proto;	/* protocol method table */  			    }  			} -			/* end-of-message processing starts here */ -			if (outlevel == O_VERBOSE) -			    fputc('\n', stderr); -  			/* check to see if the numbers matched? */  			if (msgsizes && msglen != msgsizes[num-1])  			    error(0, 0, "size of message %d (%d) was not what was expected (%d)", num, msglen, msgsizes[num-1]); +			/* end-of-message processing starts here */ +  			if (ctl->mda)  			{  			    int rc; | 
