aboutsummaryrefslogtreecommitdiffstats
path: root/sink.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2002-10-18 12:33:03 +0000
committerEric S. Raymond <esr@thyrsus.com>2002-10-18 12:33:03 +0000
commit4c99804a176a816cb1f2d46e1dc401135a3a9d70 (patch)
treebaae3ea53fb098739a4ce24c82ddbc55f320e45d /sink.c
parentef80e7a867df539bea7f357faf7ca98c78535903 (diff)
downloadfetchmail-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sink.c b/sink.c
index a906fde7..8e1b89d9 100644
--- a/sink.c
+++ b/sink.c
@@ -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))
{