]> git.sur5r.net Git - openldap/commitdiff
refine previous commit...
authorPierangelo Masarati <ando@openldap.org>
Wed, 16 Nov 2005 14:20:45 +0000 (14:20 +0000)
committerPierangelo Masarati <ando@openldap.org>
Wed, 16 Nov 2005 14:20:45 +0000 (14:20 +0000)
servers/slapd/back-ldap/search.c

index 5c824d0b0c9b5adf59352ba8fc4bc7d907a020eb..625f3b05500b436bf3502f7a085ca973091ac80f 100644 (file)
@@ -155,7 +155,8 @@ ldap_back_search(
        int             freetext = 0;
        int             do_retry = 1;
        LDAPControl     **ctrls = NULL;
-       char            *save_matched = rs->sr_matched;
+       /* FIXME: shouldn't this be null? */
+       const char      *save_matched = rs->sr_matched;
 
        lc = ldap_back_getconn( op, rs, LDAP_BACK_SENDERR );
        if ( !lc || !ldap_back_dobind( lc, op, rs, LDAP_BACK_SENDERR ) ) {