mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-08 18:30:18 +00:00
Update.
2004-11-12 Andreas Schwab <schwab@suse.de> * nis/ypclnt.c (ypprot_err): Fix "minor optimizations".
This commit is contained in:
parent
7db612081a
commit
a45e13bd3e
@ -1,3 +1,7 @@
|
|||||||
|
2004-11-12 Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
|
* nis/ypclnt.c (ypprot_err): Fix "minor optimizations".
|
||||||
|
|
||||||
2004-11-12 Ulrich Drepper <drepper@redhat.com>
|
2004-11-12 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* posix/Makefile (tests): Add bug-regex24.
|
* posix/Makefile (tests): Add bug-regex24.
|
||||||
|
@ -846,7 +846,7 @@ ypprot_err (const int code)
|
|||||||
{
|
{
|
||||||
if (code < YP_VERS || code > YP_NOKEY)
|
if (code < YP_VERS || code > YP_NOKEY)
|
||||||
return YPERR_YPERR;
|
return YPERR_YPERR;
|
||||||
return yp_2_yperr[code];
|
return yp_2_yperr[code - YP_VERS];
|
||||||
}
|
}
|
||||||
libnsl_hidden_def (ypprot_err)
|
libnsl_hidden_def (ypprot_err)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user