diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2002-10-18 12:33:03 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2002-10-18 12:33:03 +0000 |
commit | 4c99804a176a816cb1f2d46e1dc401135a3a9d70 (patch) | |
tree | baae3ea53fb098739a4ce24c82ddbc55f320e45d /sink.c | |
parent | ef80e7a867df539bea7f357faf7ca98c78535903 (diff) | |
download | fetchmail-4c99804a176a816cb1f2d46e1dc401135a3a9d70.tar.gz fetchmail-4c99804a176a816cb1f2d46e1dc401135a3a9d70.tar.bz2 fetchmail-4c99804a176a816cb1f2d46e1dc401135a3a9d70.zip |
Detect and rewrite local paths.
svn path=/trunk/; revision=3743
Diffstat (limited to 'sink.c')
-rw-r--r-- | sink.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -811,7 +811,7 @@ static int open_smtp_sink(struct query *ctl, struct msgblk *msg, * Also, if the hostname is a dotted quad, wrap it in square brackets. * Apparently this is required by RFC2821, section 4.1.3. */ - if (!msg->return_path[0] || (0 == strcmp(msg->return_path, "@"))) + if (!msg->return_path[0] || (msg->return_path[0] == '@')) { if (is_dottedquad(ctl->server.truename)) { |