diff options
| author | Bill Paul <wpaul@FreeBSD.org> | 1996-12-20 19:41:15 +0000 |
|---|---|---|
| committer | Bill Paul <wpaul@FreeBSD.org> | 1996-12-20 19:41:15 +0000 |
| commit | cc64a2bf113de0f3e81106d137d8b0e973d426a5 (patch) | |
| tree | b639b6347f2aecc194feef9102553d0477cfa0ea /lib/libc | |
| parent | 1ffb3da27a53858573ddb3d8280369fc9267e65b (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/yp/yplib.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/yp/yplib.c b/lib/libc/yp/yplib.c index 92f8d8f88651..805f9025e27b 100644 --- a/lib/libc/yp/yplib.c +++ b/lib/libc/yp/yplib.c @@ -28,7 +28,7 @@ */ #ifndef LINT -static char *rcsid = "$Id: yplib.c,v 1.7 1996/11/08 01:10:35 wpaul Exp $"; +static char *rcsid = "$Id: yplib.c,v 1.25 1996/11/08 01:42:02 wpaul Exp $"; #endif #include <sys/param.h> @@ -79,6 +79,7 @@ extern bool_t xdr_ypresp_master(); int (*ypresp_allfn)(); void *ypresp_data; +static void _yp_unbind __P(( struct dom_binding * )); struct dom_binding *_ypbindlist; static char _yp_domain[MAXHOSTNAMELEN]; int _yplib_timeout = 10; @@ -230,7 +231,7 @@ _yp_dobind(dom, ypdb) ysd = _ypbindlist; while(ysd) { if(ysd->dom_client != NULL) - clnt_destroy(ysd->dom_client); + _yp_unbind(ysd); ysd2 = ysd->dom_pnext; free(ysd); ysd = ysd2; |
