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/smtpd update INET6 case as well



details:   https://anonhg.NetBSD.org/src/rev/9b159b9ad7aa
branches:  trunk
changeset: 509655:9b159b9ad7aa
user:      itojun <itojun%NetBSD.org@localhost>
date:      Wed May 09 21:19:34 2001 +0000

description:
update INET6 case as well

diffstat:

 gnu/dist/postfix/src/smtpd/smtpd_peer.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 2043bff321c4 -r 9b159b9ad7aa gnu/dist/postfix/src/smtpd/smtpd_peer.c
--- a/gnu/dist/postfix/src/smtpd/smtpd_peer.c   Wed May 09 20:40:50 2001 +0000
+++ b/gnu/dist/postfix/src/smtpd/smtpd_peer.c   Wed May 09 21:19:34 2001 +0000
@@ -151,7 +151,7 @@
        int error = -1;
 
 #ifdef INET6
-       (void)getnameinfo(sa, len, hbuf, sizeof(hbuf), NULL, 0, NI_NUMERICHOST);
+       (void)getnameinfo(sa, len, abuf, sizeof(abuf), NULL, 0, NI_NUMERICHOST);
 #else
        in = &((struct sockaddr_in *)sa)->sin_addr;
        inet_ntop(AF_INET, in, abuf, sizeof(abuf));



Home | Main Index | Thread Index | Old Index