diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-09-12 16:36:47 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-09-12 16:36:47 +0000 |
commit | ffaee92b2a0699ed5f638224bc69600cb523b906 (patch) | |
tree | fb716d7e66ffaa0905068d111f125205dc61eafc /driver.c | |
parent | 26aa3b67841443cd7ebee8dc5397e351c94046e9 (diff) | |
download | fetchmail-ffaee92b2a0699ed5f638224bc69600cb523b906.tar.gz fetchmail-ffaee92b2a0699ed5f638224bc69600cb523b906.tar.bz2 fetchmail-ffaee92b2a0699ed5f638224bc69600cb523b906.zip |
Better debugging of SMTP stuff.
svn path=/trunk/; revision=90
Diffstat (limited to 'driver.c')
-rw-r--r-- | driver.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -657,6 +657,8 @@ int rewrite; return(PS_SMTP); #endif /* SMTP_RESEND */ SMTP_data(mboxfd); + if (outlevel == O_VERBOSE) + fputs("SMTP> ", stderr); break; case TO_FOLDER: @@ -691,6 +693,8 @@ int rewrite; perror("gen_readmsg: writing RFC822 headers"); return(PS_IOERR); } + else if (outlevel == O_VERBOSE) + fputs("#", stderr); free(headers); headers = NULL; } @@ -701,6 +705,8 @@ int rewrite; perror("gen_readmsg: writing message text"); return(PS_IOERR); } + else if (outlevel == O_VERBOSE) + fputc('*', stderr); skipwrite:; @@ -714,6 +720,9 @@ int rewrite; lines++; } + if (outlevel == O_VERBOSE) + fputc('\n', stderr); + /* write message terminator, if any */ switch (output) { |