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

Re: Should this work: (|(sn=hughes)) ?



Here's a little patch:

--- filterindex.c.orig  Sat Mar  2 10:07:30 2002
+++ filterindex.c       Sat Mar  2 11:00:35 2002
@@ -273,7 +273,7 @@
                Debug( LDAP_DEBUG_ANY,
                        "<= bdb_equality_candidates: index_param failed
(%d)\n",
                        rc, 0, 0 );
-               return rc;
+               return 0;
        }

        if ( db == NULL ) {
@@ -376,7 +376,7 @@
                Debug( LDAP_DEBUG_ANY,
                        "<= bdb_approx_candidates: index_param failed
(%d)\n",
                        rc, 0, 0 );
-               return rc;
+               return 0;
        }

        if ( db == NULL ) {
@@ -482,7 +482,7 @@
                Debug( LDAP_DEBUG_ANY,
                        "<= bdb_substring_candidates: index_param failed
(%d)\n",
                        rc, 0, 0 );
-               return rc;
+               return 0;
        }

        if ( db == NULL ) {