(yp_bind_ypbindprog): Initialize clnt_saddr by hand. (ypdomainname): Renamed from...
commit2c2efdc1820394cf24cbfcdb18a6cee89146d1cc
authorUlrich Drepper <drepper@redhat.com>
Sat, 26 Nov 2005 22:16:03 +0000 (26 22:16 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 26 Nov 2005 22:16:03 +0000 (26 22:16 +0000)
treedc50dc699f5f86dfeb1c8a44b5c9ad93427481f9
parent50c8adf4d139c8f9d8825f376f26b831f52f693a
(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