summaryrefslogtreecommitdiff
path: root/nis
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2008-03-05 09:37:45 +0000
committerJakub Jelinek <jakub@redhat.com>2008-03-05 09:37:45 +0000
commit5c25449dd9fd706f79ee6d92019f28044d9270fa (patch)
treead5a2ddd80177af8109c358b71a9baa94f75581f /nis
parentff9e7e3fe2fa6daf6ef542bb1fd1066164dd33bb (diff)
Updated to fedora-glibc-20080305T0857cvs/fedora-glibc-2_7_90-8
Diffstat (limited to 'nis')
-rw-r--r--nis/ypclnt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nis/ypclnt.c b/nis/ypclnt.c
index ae04ee9212..7d0091bd26 100644
--- a/nis/ypclnt.c
+++ b/nis/ypclnt.c
@@ -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;