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
SUPPORT_TRANSLATE_IP_ADDRESS didn't cause any output from -bV.
[exim.git]
/
src
/
src
/
smtp_out.c
diff --git
a/src/src/smtp_out.c
b/src/src/smtp_out.c
index 696cfff5da6e0e2e6e10d4e8afb7b98fafcf6136..df4dc5a4fa88d1168538f25893384a33f6b42906 100644
(file)
--- a/
src/src/smtp_out.c
+++ b/
src/src/smtp_out.c
@@
-1,4
+1,4
@@
-/* $Cambridge: exim/src/src/smtp_out.c,v 1.
5 2005/06/27 14:29:43
ph10 Exp $ */
+/* $Cambridge: exim/src/src/smtp_out.c,v 1.
6 2005/08/08 15:02:48
ph10 Exp $ */
/*************************************************
* Exim - an Internet mail transport agent *
/*************************************************
* Exim - an Internet mail transport agent *
@@
-155,12
+155,13
@@
non-IPv6 systems, to enable the code to be less messy. However, on such systems
host->address will always be an IPv4 address.
The port field in the host item is used if it is set (usually router from SRV
host->address will always be an IPv4 address.
The port field in the host item is used if it is set (usually router from SRV
-records). In other cases, the default passed as an argument is used.
+records or elsewhere). In other cases, the default passed as an argument is
+used, and the host item is updated with its value.
Arguments:
host host item containing name and address (and sometimes port)
host_af AF_INET or AF_INET6
Arguments:
host host item containing name and address (and sometimes port)
host_af AF_INET or AF_INET6
- port default
, remote port to connect to, in host byte order
for those
+ port default
remote port to connect to, in host byte order,
for those
hosts whose port setting is PORT_NONE
interface outgoing interface address or NULL
timeout timeout value or 0
hosts whose port setting is PORT_NONE
interface outgoing interface address or NULL
timeout timeout value or 0
@@
-184,6
+185,7
@@
if (host->port != PORT_NONE)
host->port);
port = host->port;
}
host->port);
port = host->port;
}
+else host->port = port; /* Set the port actually used */
HDEBUG(D_transport|D_acl|D_v)
{
HDEBUG(D_transport|D_acl|D_v)
{