2005-11-25  Ulrich Drepper  <drepper@redhat.com>
	[BZ #1925]
	* nis/ypclnt.c (yp_order): Correct test for invalid parameter.
This commit is contained in:
Ulrich Drepper 2005-11-25 16:05:57 +00:00
parent 9b33781cad
commit 85f90d22b6
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-11-25 Ulrich Drepper <drepper@redhat.com>
[BZ #1925]
* nis/ypclnt.c (yp_order): Correct test for invalid parameter.
2005-11-24 Ulrich Drepper <drepper@redhat.com>
* scripts/check-c++-types.sh: Improve comments.

View File

@ -593,7 +593,7 @@ yp_order (const char *indomain, const char *inmap, unsigned int *outorder)
enum clnt_stat result;
if (indomain == NULL || indomain[0] == '\0' ||
inmap == NULL || inmap == '\0')
inmap == NULL || inmap[0] == '\0')
return YPERR_BADARGS;
req.domain = (char *) indomain;