(yp_bind_ypbindprog): Initialize clnt_saddr by hand.
authordrepper <drepper>
Sat, 26 Nov 2005 22:16:03 +0000 (22:16 +0000)
committerdrepper <drepper>
Sat, 26 Nov 2005 22:16:03 +0000 (22:16 +0000)
commitf785e842d80d202200a1075579ce641be330c45e
treefe28a383c4dd06e22a683ad7ecaa79d51306d0f3
parentdf0989227e3bb30c4c5224da630df1f0f31d2e2e
(yp_bind_ypbindprog): Initialize clnt_saddr by hand.
(ypdomainname): Renamed from __ypdomainname.  No need for initializer.
(ypbindlist): Renamed from __ypbindlist.
(do_ypcall): Check memory allocation suceeded before calling
yp_bind_ypbindprog.
(yperr_string): Reduce size of function by using only one gettext call.
(ypbinderr_string): Likewise.
(yp_match): Free response in case memory for return value cannot be allocated.
(yp_first): Likewise.
(yp_next): Likewise.
(do_ypcall_tr): New function which translates error codes as well.
(yp_match, yp_next, yp_master, yp_order, yp_maplist): Use it.
(yp_all): Correct test for invalid parameter.
Pretty printing.
nis/ypclnt.c