From a3d27049f568172fee01cc6814c99dac6dbdee3f Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 26 Sep 1997 10:12:42 +0000 Subject: Message cleanup. svn path=/trunk/; revision=1420 --- driver.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/driver.c b/driver.c index 8b3b0bb9..cf6be546 100644 --- a/driver.c +++ b/driver.c @@ -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; -- cgit v1.2.3