From: Howard Chu Date: Mon, 17 Dec 2001 22:37:47 +0000 (+0000) Subject: from jon@symas.com; include ldap_log.h for proper declarations, remove X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~640 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c0dbedca50be1902d55bb7380dad715553312926;p=openldap from jon@symas.com; include ldap_log.h for proper declarations, remove unused variable --- 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;