From: tholo Date: Thu, 24 Apr 1997 08:37:09 +0000 (+0000) Subject: Revert last change X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=13f60ddb346e7defd6b3f7e12e92396106093782;p=openbsd Revert last change --- diff --git a/lib/libc/net/getnetent.c b/lib/libc/net/getnetent.c index f37f2543ee7..e40fb50c0f6 100644 --- a/lib/libc/net/getnetent.c +++ b/lib/libc/net/getnetent.c @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: getnetent.c,v 1.6 1997/04/03 02:12:57 kstailey Exp $"; +static char rcsid[] = "$OpenBSD: getnetent.c,v 1.7 1997/04/24 08:37:09 tholo Exp $"; #endif /* LIBC_SCCS and not lint */ #include @@ -102,7 +102,7 @@ again: p = strpbrk(cp, " \t"); if (p != NULL) *p++ = '\0'; - net.n_net = htonl(inet_network(cp)); + net.n_net = inet_network(cp); net.n_addrtype = AF_INET; q = net.n_aliases = net_aliases; if (p != NULL)