]> git.sur5r.net Git - openldap/commitdiff
Fix debug messages
authorKurt Zeilenga <kurt@openldap.org>
Wed, 12 Apr 2000 01:39:52 +0000 (01:39 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 12 Apr 2000 01:39:52 +0000 (01:39 +0000)
servers/slapd/filter.c

index 2a609eab343897d864fd541131dd4ce6289c7b89..5e146e11f9fd0f91f194a27c9e7f106a807cd2c4 100644 (file)
@@ -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 );