From: Kurt Zeilenga Date: Wed, 12 Apr 2000 01:39:52 +0000 (+0000) Subject: Fix debug messages X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~3103 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=065af58fb763fadaac5a0cf9b3e90089ff163ca6;p=openldap Fix debug messages --- diff --git a/servers/slapd/filter.c b/servers/slapd/filter.c index 2a609eab34..5e146e11f9 100644 --- a/servers/slapd/filter.c +++ b/servers/slapd/filter.c @@ -382,13 +382,14 @@ get_substring_filter( break; default: - Debug( LDAP_DEBUG_FILTER, " unknown type\n", tag, 0, - 0 ); + Debug( LDAP_DEBUG_FILTER, " unknown type=%ld\n", + (long) tag, 0, 0 ); ber_bvfree( val ); return_error: - Debug( LDAP_DEBUG_FILTER, " error=%d\n", rc, 0, 0 ); + Debug( LDAP_DEBUG_FILTER, " error=%ld\n", + (long) rc, 0, 0 ); if( fstr ) { free( *fstr );