From: Kurt Zeilenga Date: Thu, 26 Aug 1999 01:40:42 +0000 (+0000) Subject: Simple ldapsearch (%s) bug fix (ITS#274) X-Git-Tag: OPENLDAP_REL_ENG_1_2_7~9 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fb973c2dae0827387d63aeaace2674d66414a6a6;p=openldap Simple ldapsearch (%s) bug fix (ITS#274) --- diff --git a/CHANGES b/CHANGES index dcbcb48282..9d2c544c85 100644 --- 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 diff --git a/clients/tools/ldapsearch.c b/clients/tools/ldapsearch.c index c96c58aad5..bed8e713fe 100644 --- a/clients/tools/ldapsearch.c +++ b/clients/tools/ldapsearch.c @@ -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;