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:
9573d7c
)
(yp_all): Close UDP socket und give CLIENT handle free.
author
drepper
<drepper>
Tue, 29 Sep 1998 22:40:38 +0000
(22:40 +0000)
committer
drepper
<drepper>
Tue, 29 Sep 1998 22:40:38 +0000
(22:40 +0000)
nis/ypclnt.c
patch
|
blob
|
history
diff --git
a/nis/ypclnt.c
b/nis/ypclnt.c
index
945765c
..
826b759
100644
(file)
--- a/
nis/ypclnt.c
+++ b/
nis/ypclnt.c
@@
-690,6
+690,7
@@
yp_all (const char *indomain, const char *inmap,
clnt = clnttcp_create (&clnt_sin, YPPROG, YPVERS, &clnt_sock, 0, 0);
if (clnt == NULL)
{
+ __yp_unbind (ydb);
__set_errno (saved_errno);
return YPERR_PMAP;
}
@@
-711,6
+712,7
@@
yp_all (const char *indomain, const char *inmap,
else
res = YPERR_SUCCESS;
+ __yp_unbind (ydb);
clnt_destroy (clnt);
if (status != YP_NOMORE)