projects
/
kopensolaris-gnu
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
184642b
)
(internal_nis_gethostent_r): Pretty print.
author
drepper
<drepper>
Sun, 28 Dec 1997 15:01:56 +0000
(15:01 +0000)
committer
drepper
<drepper>
Sun, 28 Dec 1997 15:01:56 +0000
(15:01 +0000)
nis/nss_nis/nis-hosts.c
patch
|
blob
|
history
diff --git
a/nis/nss_nis/nis-hosts.c
b/nis/nss_nis/nis-hosts.c
index
f08a624
..
e627d24
100644
(file)
--- a/
nis/nss_nis/nis-hosts.c
+++ b/
nis/nss_nis/nis-hosts.c
@@
-199,7
+199,8
@@
internal_nis_gethostent_r (struct hostent *host, char *buffer,
++p;
free (result);
- if ((parse_res = parse_line (p, host, data, buflen, errnop)) == -1)
+ parse_res = parse_line (p, host, data, buflen, errnop);
+ if (parse_res == -1)
{
free (outkey);
*h_errnop = NETDB_INTERNAL;