diff options
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)) { |