diff options
author | Thorsten Lockert <tholo@cvs.openbsd.org> | 1997-04-24 08:37:10 +0000 |
---|---|---|
committer | Thorsten Lockert <tholo@cvs.openbsd.org> | 1997-04-24 08:37:10 +0000 |
commit | f497dfb998e573ece24dee16a9cbc068fff0f97e (patch) | |
tree | b4ce233a1312e7388561d101f349d9e27d353f10 /lib | |
parent | a4eda05215c4d308e4af6fd94932913efeab562e (diff) |
Revert last change
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/net/getnetent.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 <sys/types.h> @@ -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) |