X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/4964e9326687129640fe06f61863e3ae24a43de9..a5a28604d8bf14b6521ed3ab028872b9cafd1b24:/src/src/transports/smtp.c diff --git a/src/src/transports/smtp.c b/src/src/transports/smtp.c index 738fd1cc2..a756f81db 100644 --- a/src/src/transports/smtp.c +++ b/src/src/transports/smtp.c @@ -1,4 +1,4 @@ -/* $Cambridge: exim/src/src/transports/smtp.c,v 1.4 2005/01/04 16:36:28 ph10 Exp $ */ +/* $Cambridge: exim/src/src/transports/smtp.c,v 1.5 2005/01/11 15:51:03 ph10 Exp $ */ /************************************************* * Exim - an Internet mail transport agent * @@ -2177,7 +2177,7 @@ for (cutoff_retry = 0; expired && /* Find by name if so configured, or if it's an IP address. We don't just copy the IP address, because we need the test-for-local to happen. */ - if (ob->gethostbyname || string_is_ip_address(host->name, NULL)) + if (ob->gethostbyname || string_is_ip_address(host->name, NULL) > 0) rc = host_find_byname(host, NULL, &canonical_name, TRUE); else {