From 75d97a43ebdba5a9b279a50faeded66209f80e81 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Thu, 21 Feb 2002 19:28:49 +0000 Subject: [PATCH] Fix bug in unused function --- servers/slapd/charray.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ); } -- 2.39.5