diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1999-09-29 23:20:24 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1999-09-29 23:20:24 +0000 |
commit | b5e4dc5abc12941cb0695e4d69d5ac2a2f21406f (patch) | |
tree | b7c796c1468a17c2da2f1fb4284601145cd9a356 /sink.c | |
parent | 9e818012346fbee36ba481866b3d0005ac6816ea (diff) | |
download | fetchmail-b5e4dc5abc12941cb0695e4d69d5ac2a2f21406f.tar.gz fetchmail-b5e4dc5abc12941cb0695e4d69d5ac2a2f21406f.tar.bz2 fetchmail-b5e4dc5abc12941cb0695e4d69d5ac2a2f21406f.zip |
-Wall changes.
svn path=/trunk/; revision=2626
Diffstat (limited to 'sink.c')
-rw-r--r-- | sink.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -43,7 +43,7 @@ #endif /* makes the open_sink()/close_sink() pair non-reentrant */ -static lmtp_responses; +static int lmtp_responses; static int smtp_open(struct query *ctl) /* try to open a socket to the appropriate SMTP server for this query */ @@ -204,6 +204,7 @@ int stuffline(struct query *ctl, char *buf) * decorated any . lines it sends back up. */ if (*buf == '.') + { if (ctl->server.base_protocol->delimited) /* server has already byte-stuffed */ { if (ctl->mda) @@ -218,6 +219,7 @@ int stuffline(struct query *ctl, char *buf) else /* leave it alone */; } + } /* we may need to strip carriage returns */ if (ctl->stripcr) @@ -896,6 +898,7 @@ int close_sink(struct query *ctl, struct msgblk *msg, flag forward) * to people who got it the first time. */ if (ctl->listener == LMTP_MODE) + { if (lmtp_responses == 0) { SMTP_ok(ctl->smtp_socket); @@ -958,6 +961,7 @@ int close_sink(struct query *ctl, struct msgblk *msg, flag forward) "LSMTP partial delivery failure.\r\n", errors, responses)); } + } } return(TRUE); |