]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/abandon.c
add new ber dump routine (behind NEW_LOGGING)
[openldap] / servers / slapd / abandon.c
index 3069ed7452d25de19f04a6aa593c999a3d86afff..78c14be6ba2363a69477b730ebf8f37a9ab7596b 100644 (file)
@@ -1,4 +1,9 @@
 /* abandon.c - decode and handle an ldap abandon operation */
+/* $OpenLDAP$ */
+/*
+ * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
+ * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
+ */
 
 /*
  * Copyright (c) 1995 Regents of the University of Michigan.
@@ -50,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,
@@ -95,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;
 }