From: Ulrich Drepper Date: Fri, 12 Nov 2004 19:06:21 +0000 (+0000) Subject: Update. X-Git-Tag: cvs/fedora-glibc-20041115T0915~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a45e13bd3ef3532cebd69ed23bb0eecfcacaf7ad;p=thirdparty%2Fglibc.git Update. 2004-11-12 Andreas Schwab * nis/ypclnt.c (ypprot_err): Fix "minor optimizations". --- diff --git a/ChangeLog b/ChangeLog index d8839051268..bb3598d9ceb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2004-11-12 Andreas Schwab + + * nis/ypclnt.c (ypprot_err): Fix "minor optimizations". + 2004-11-12 Ulrich Drepper * posix/Makefile (tests): Add bug-regex24. diff --git a/nis/ypclnt.c b/nis/ypclnt.c index 65b9c554672..5ad78eda003 100644 --- a/nis/ypclnt.c +++ b/nis/ypclnt.c @@ -846,7 +846,7 @@ ypprot_err (const int code) { if (code < YP_VERS || code > YP_NOKEY) return YPERR_YPERR; - return yp_2_yperr[code]; + return yp_2_yperr[code - YP_VERS]; } libnsl_hidden_def (ypprot_err)