Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/gnu/dist/postfix/src/master fix port number in master_listen...
details: https://anonhg.NetBSD.org/src/rev/c3dd68ec7357
branches: trunk
changeset: 510829:c3dd68ec7357
user: itojun <itojun%NetBSD.org@localhost>
date: Thu Jun 07 07:59:24 2001 +0000
description:
fix port number in master_listen(). hotta%kddlabs.co.jp@localhost
diffstat:
gnu/dist/postfix/src/master/master_listen.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (17 lines):
diff -r 3b2dccbd94e5 -r c3dd68ec7357 gnu/dist/postfix/src/master/master_listen.c
--- a/gnu/dist/postfix/src/master/master_listen.c Thu Jun 07 07:56:57 2001 +0000
+++ b/gnu/dist/postfix/src/master/master_listen.c Thu Jun 07 07:59:24 2001 +0000
@@ -133,10 +133,11 @@
salen, hbuf, sizeof(hbuf), NULL, 0, NI_NUMERICHOST)) {
strncpy(hbuf, "?????", sizeof(hbuf));
}
- end_point = concatenate(hbuf, ":", serv->name, (char *) 0);
+ end_point = concatenate(hbuf, ":", MASTER_INET_PORT(serv),
+ (char *) 0);
#else
end_point = concatenate(inet_ntoa(MASTER_INET_ADDRLIST(serv)->addrs[n]),
- ":", serv->name, (char *) 0);
+ ":", MASTER_INET_PORT(serv), (char *) 0);
#endif
serv->listen_fd[n]
= inet_listen(end_point, serv->max_proc > var_proc_limit ?
Home |
Main Index |
Thread Index |
Old Index