aboutsummaryrefslogtreecommitdiffstats
path: root/sink.c
diff options
context:
space:
mode:
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))
{