[Date Prev][Date Next] [Chronological] [Thread] [Top]

small bug in servers/slapd/charray.c (ITS#1608)



Full_Name: Alex Martin
Version: 2.0.23  and others
OS: Linux
URL: 
Submission from: (NULL) (138.37.51.66)


diff -ur openldap-2.0.23/servers/slapd/charray.c
openldap-2.0.23ft/servers/slapd/charray.c
--- openldap-2.0.23/servers/slapd/charray.c     Fri Jan  4 20:38:26 2002
+++ openldap-2.0.23ft/servers/slapd/charray.c   Thu Feb 21 11:13:31 2002
@@ -189,7 +189,7 @@
                }
        }

-       if ( ! ( a1[0] && a2[0] ) ) {
+       if (  a1[0] || a2[0]  ) {
                return( !0 );
        }

@@ -206,7 +206,7 @@
                }
        }

-       if ( ! ( a1[0] && a2[0] ) ) {
+       if (  a1[0] || a2[0]  ) {
                return( !0 );
        }