From ffaee92b2a0699ed5f638224bc69600cb523b906 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 12 Sep 1996 16:36:47 +0000 Subject: Better debugging of SMTP stuff. svn path=/trunk/; revision=90 --- driver.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'driver.c') diff --git a/driver.c b/driver.c index 4718d35b..86bd3e93 100644 --- a/driver.c +++ b/driver.c @@ -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) { -- cgit v1.2.3