]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/abandon.c
add new ber dump routine (behind NEW_LOGGING)
[openldap] / servers / slapd / abandon.c
index ec95e10a4eeaecf128af5dce19ac2070421b5430..78c14be6ba2363a69477b730ebf8f37a9ab7596b 100644 (file)
@@ -1,6 +1,7 @@
 /* abandon.c - decode and handle an ldap abandon operation */
+/* $OpenLDAP$ */
 /*
- * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
+ * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
  */
 
@@ -54,7 +55,7 @@ do_abandon(
                return rc;
        } 
 
-       Debug( LDAP_DEBUG_ARGS, "do_abandon: id %d\n", id, 0 ,0 );
+       Debug( LDAP_DEBUG_ARGS, "do_abandon: id=%ld\n", (long) id, 0 ,0 );
 
        if( id <= 0 ) {
                Debug( LDAP_DEBUG_ANY,
@@ -99,7 +100,7 @@ done:
        ldap_pvt_thread_mutex_unlock( &conn->c_mutex );
 
        Debug( LDAP_DEBUG_TRACE, "do_abandon: op=%ld %sfound\n",
-               id, notfound ? "not " : "", 0 );
+              (long) id, notfound ? "not " : "", 0 );
 
        return LDAP_SUCCESS;
 }