mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 03:10:05 +00:00
[BZ #5854]
* nis/ypclnt.c (yp_order): Fix handling of return value of do_ypcall_tr call. Patch by Jeff Moyer <jmoyer@redhat.com>.
This commit is contained in:
parent
3868fb6efc
commit
0f749099e9
@ -1,5 +1,10 @@
|
||||
2008-03-03 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
[BZ #5854]
|
||||
* nis/ypclnt.c (yp_order): Fix handling of return value of
|
||||
do_ypcall_tr call.
|
||||
Patch by Jeff Moyer <jmoyer@redhat.com>.
|
||||
|
||||
* po/fr.po: Update from translation team.
|
||||
|
||||
2008-02-22 Andreas Jaeger <aj@suse.de>,
|
||||
|
@ -634,7 +634,7 @@ yp_order (const char *indomain, const char *inmap, unsigned int *outorder)
|
||||
(caddr_t) &req, (xdrproc_t) xdr_ypresp_order,
|
||||
(caddr_t) &resp);
|
||||
|
||||
if (result == YPERR_SUCCESS)
|
||||
if (result != YPERR_SUCCESS)
|
||||
return result;
|
||||
|
||||
*outorder = resp.ordernum;
|
||||
|
Loading…
Reference in New Issue
Block a user