From 14b04f4d0b71b0e74fec0d5dd22b24a663b52dea Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 2 Jun 1999 03:09:40 +0000 Subject: [PATCH] Fix -ULDAP_DEBUG lint. --- servers/slapd/modify.c | 5 ++++- servers/slapd/nt_debug.c | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/servers/slapd/modify.c b/servers/slapd/modify.c index b0e6f121e4..53b4ac7680 100644 --- a/servers/slapd/modify.c +++ b/servers/slapd/modify.c @@ -31,8 +31,11 @@ do_modify( char *ndn; char *last; unsigned long tag, len; - LDAPModList *modlist, *tmp; + LDAPModList *modlist; LDAPModList **modtail; +#ifdef LDAP_DEBUG + LDAPModList *tmp; +#endif Backend *be; Debug( LDAP_DEBUG_TRACE, "do_modify\n", 0, 0, 0 ); diff --git a/servers/slapd/nt_debug.c b/servers/slapd/nt_debug.c index e892ee0eb9..8bbd5009e3 100644 --- a/servers/slapd/nt_debug.c +++ b/servers/slapd/nt_debug.c @@ -10,7 +10,7 @@ static FILE *log_file; -void Debug( int level, const char *fmt, ... ) +void (Debug)( int level, const char *fmt, ... ) { char buffer[4096]; va_list vl; -- 2.39.5