]> git.sur5r.net Git - openldap/commitdiff
Simple ldapsearch (%s) bug fix (ITS#274)
authorKurt Zeilenga <kurt@openldap.org>
Thu, 26 Aug 1999 01:40:42 +0000 (01:40 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 26 Aug 1999 01:40:42 +0000 (01:40 +0000)
CHANGES
clients/tools/ldapsearch.c

diff --git a/CHANGES b/CHANGES
index dcbcb482827da18d86a5a083782585a6dc808c66..9d2c544c8565dbb8ea81806239c602bcc3ae0e3e 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -7,6 +7,7 @@ Changes included in OpenLDAP 1.2 Release Engineering
        Added ref attribute type to slapd.at.conf
        Fixed slapd memory leaks (ITS#249 ITS#250)
        Fixed test005-modrdn to properly report failure in delete rdn case 
+       Fixed ldapsearch (%s) bug (ITS#274)
        Build environment
                Disable config.cache to ensure consistent detection
        Documentation
index c96c58aad57051f0471d3c3207b5992338c53269..bed8e713fe1d8cd9ca5da2a16b9d8202b6f44f97 100644 (file)
@@ -321,7 +321,7 @@ char        **argv;
     }
 
     if ( infile == NULL ) {
-       rc = dosearch( ld, base, scope, attrs, attrsonly, filtpattern, "" );
+       rc = dosearch( ld, base, scope, attrs, attrsonly, "%s", filtpattern );
     } else {
        rc = 0;
        first = 1;