aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--driver.c9
-rw-r--r--smtp.c2
2 files changed, 10 insertions, 1 deletions
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)
{
diff --git a/smtp.c b/smtp.c
index d3ee546b..6b2f678d 100644
--- a/smtp.c
+++ b/smtp.c
@@ -134,7 +134,7 @@ int SMTP_eom(int socket)
SockPuts(socket,".");
if (outlevel == O_VERBOSE)
- fprintf(stderr, "SMTP> .\n");
+ fprintf(stderr, "SMTP> (EOM)\n");
ok = SMTP_ok(socket,NULL);
return ok;
}