Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/net fix USE_GETIPNODEBY case.



details:   https://anonhg.NetBSD.org/src/rev/a95e6607e4ff
branches:  trunk
changeset: 474337:a95e6607e4ff
user:      itojun <itojun%NetBSD.org@localhost>
date:      Sun Jul 04 00:34:20 1999 +0000

description:
fix USE_GETIPNODEBY case.

diffstat:

 lib/libc/net/getaddrinfo.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r c8e77fb9eb9d -r a95e6607e4ff lib/libc/net/getaddrinfo.c
--- a/lib/libc/net/getaddrinfo.c        Sun Jul 04 00:33:14 1999 +0000
+++ b/lib/libc/net/getaddrinfo.c        Sun Jul 04 00:34:20 1999 +0000
@@ -520,7 +520,7 @@
        int port0;
 {
 #ifdef USE_GETIPNODEBY
-       return get_addr0(hostname, af, res, pai, port0);
+       return get_addr0(hostname, af, res0, pai, port0);
 #else
        int i, error, ekeep;
        struct addrinfo *cur;



Home | Main Index | Thread Index | Old Index