From fb973c2dae0827387d63aeaace2674d66414a6a6 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Thu, 26 Aug 1999 01:40:42 +0000 Subject: [PATCH] Simple ldapsearch (%s) bug fix (ITS#274) --- CHANGES | 1 + clients/tools/ldapsearch.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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; -- 2.39.5