minor cleanup

This commit is contained in:
Pierangelo Masarati 2001-11-17 14:24:27 +00:00
parent d262aae706
commit 0f30fb0d8f
3 changed files with 5 additions and 5 deletions

View file

@ -39,7 +39,7 @@ ldap_back_group(
LDAPMessage *result;
char *gattr[2];
char *filter;
char *filter = NULL;
LDAP *ld;
char *mop_ndn, *mgr_ndn;

View file

@ -57,7 +57,7 @@ ldap_back_modify(
{
struct ldapinfo *li = (struct ldapinfo *) be->be_private;
struct ldapconn *lc;
LDAPMod **modv;
LDAPMod **modv = NULL;
LDAPMod *mods;
Modifications *ml;
int i;

View file

@ -56,11 +56,11 @@ ldap_back_conn_destroy(
#ifdef NEW_LOGGING
LDAP_LOG(( "backend", LDAP_LEVEL_INFO,
"ldap_back_conn_destroy: fetching conn %d\n",
"ldap_back_conn_destroy: fetching conn %ld\n",
conn->c_connid ));
#else /* !NEW_LOGGING */
Debug( LDAP_DEBUG_TRACE,
"=>ldap_back_conn_destroy: fetching conn %d\n",
"=>ldap_back_conn_destroy: fetching conn %ld\n",
conn->c_connid, 0, 0 );
#endif /* !NEW_LOGGING */
@ -72,7 +72,7 @@ ldap_back_conn_destroy(
if (lc) {
Debug( LDAP_DEBUG_TRACE,
"=>ldap_back_conn_destroy: destroying conn %d\n",
"=>ldap_back_conn_destroy: destroying conn %ld\n",
lc->conn->c_connid, 0, 0 );
#ifdef ENABLE_REWRITE