From 065af58fb763fadaac5a0cf9b3e90089ff163ca6 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 12 Apr 2000 01:39:52 +0000 Subject: [PATCH] Fix debug messages --- servers/slapd/filter.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 ); -- 2.39.5