From: Kurt Zeilenga Date: Thu, 21 Feb 2002 19:28:49 +0000 (+0000) Subject: Fix bug in unused function X-Git-Tag: OPENLDAP_REL_ENG_2_MP~398 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=75d97a43ebdba5a9b279a50faeded66209f80e81;p=openldap Fix bug in unused function --- diff --git a/servers/slapd/charray.c b/servers/slapd/charray.c index 768c167fd5..927d7e3ad9 100644 --- a/servers/slapd/charray.c +++ b/servers/slapd/charray.c @@ -188,7 +188,7 @@ charray_strcmp( const char **a1, const char **a2 ) } } - if ( ! ( a1[0] && a2[0] ) ) { + if ( a1[0] || a2[0] ) { return( !0 ); } @@ -205,7 +205,7 @@ charray_strcasecmp( const char **a1, const char **a2 ) } } - if ( ! ( a1[0] && a2[0] ) ) { + if ( a1[0] || a2[0] ) { return( !0 ); }