diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-09-14 19:28:01 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-09-14 19:28:01 +0000 |
commit | 8fd5a218113c39471797e537541bfc6227a37885 (patch) | |
tree | ec2d194a628982444723a72c00507728e468e242 /driver.c | |
parent | 6e5d497bfda191ecb53cb05cba282b3c70931f5b (diff) | |
download | fetchmail-8fd5a218113c39471797e537541bfc6227a37885.tar.gz fetchmail-8fd5a218113c39471797e537541bfc6227a37885.tar.bz2 fetchmail-8fd5a218113c39471797e537541bfc6227a37885.zip |
Works with Microsoft Exchange.
svn path=/trunk/; revision=1337
Diffstat (limited to 'driver.c')
-rw-r--r-- | driver.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -435,6 +435,9 @@ static int smtp_open(struct query *ctl) } } + if (outlevel >= O_VERBOSE && ctl->smtp_socket != -1) + error(0, 0, "forwarding to SMTP port on %s", ctl->smtphost); + return(ctl->smtp_socket); } @@ -526,7 +529,7 @@ int num; /* index of message */ headers = received_for = NULL; from_offs = ctt_offs = env_offs = -1; oldlen = 0; - for (remaining = len; remaining > 0; remaining -= linelen) + for (remaining = len; remaining > 0 || protocol->delimited; remaining -= linelen) { char *line; |