git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow port setting on lists of hosts in manualroute, queryprogram,
[exim.git]
/
src
/
src
/
exim.c
diff --git
a/src/src/exim.c
b/src/src/exim.c
index 98b01511d01c8da4c1a3ffb72c7fd2a962fd600d..06e01399a5755e5d37b09dd11243224a8fe42fae 100644
(file)
--- a/
src/src/exim.c
+++ b/
src/src/exim.c
@@
-1,4
+1,4
@@
-/* $Cambridge: exim/src/src/exim.c,v 1.2
3 2005/08/01 13:20:28
ph10 Exp $ */
+/* $Cambridge: exim/src/src/exim.c,v 1.2
4 2005/08/09 13:31:52
ph10 Exp $ */
/*************************************************
* Exim - an Internet mail transport agent *
/*************************************************
* Exim - an Internet mail transport agent *
@@
-599,7
+599,7
@@
Returns: the port, or zero if there isn't one
static int
check_port(uschar *address)
{
static int
check_port(uschar *address)
{
-int port = host_extract_port(address);
+int port = host_
address_
extract_port(address);
if (string_is_ip_address(address, NULL) == 0)
{
fprintf(stderr, "exim abandoned: \"%s\" is not an IP address\n", address);
if (string_is_ip_address(address, NULL) == 0)
{
fprintf(stderr, "exim abandoned: \"%s\" is not an IP address\n", address);