From c0dbedca50be1902d55bb7380dad715553312926 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Mon, 17 Dec 2001 22:37:47 +0000 Subject: [PATCH] from jon@symas.com; include ldap_log.h for proper declarations, remove unused variable --- clients/tools/ldapsearch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/tools/ldapsearch.c b/clients/tools/ldapsearch.c index 8cc11b9724..52a615346a 100644 --- a/clients/tools/ldapsearch.c +++ b/clients/tools/ldapsearch.c @@ -33,6 +33,7 @@ #include "lutil.h" #include "lutil_ldap.h" #include "ldap_defaults.h" +#include "ldap_log.h" static char *def_tmpdir; static char *def_urlpre; @@ -181,7 +182,6 @@ main( int argc, char **argv ) { char *infile, *filtpattern, **attrs = NULL, line[BUFSIZ]; FILE *fp = NULL; - FILE *log = NULL; int rc, i, first, scope, deref, attrsonly, manageDSAit; int referrals, timelimit, sizelimit, debug; int authmethod, version, want_bindpw; -- 2.39.5