]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/modify.c
Fix LBER_ERROR vs. -1 confusion.
[openldap] / servers / slapd / modify.c
index d024953c7cd3522d2f9a2e8dfc661f118c049c89..7cb5b6f4524a8fe67c17a84a04e4a6a89a0ece1f 100644 (file)
@@ -1,6 +1,6 @@
 /* $OpenLDAP$ */
 /*
- * Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.
+ * Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
  */
 /*
@@ -348,9 +348,11 @@ do_modify(
                 * FIXME: is this correct?
                 */
 #ifdef NEW_LOGGING
-               LDAP_LOG(( "operation", LDAP_LEVEL_INFO, "do_modify: modify preOps failed\n"));
+               LDAP_LOG( OPERATION, INFO, "do_modify: modify preOps "
+                               "failed\n", 0, 0, 0 );
 #else
-               Debug (LDAP_DEBUG_TRACE, " modify preOps failed.\n", 0, 0, 0);
+               Debug(LDAP_DEBUG_TRACE, "do_modify: modify preOps failed.\n",
+                               0, 0, 0);
 #endif
        }
 #endif /* defined( LDAP_SLAPI ) */
@@ -442,9 +444,11 @@ do_modify(
                 * FIXME: is this correct?
                 */
 #ifdef NEW_LOGGING
-               LDAP_LOG(( "operation", LDAP_LEVEL_INFO, "do_modify: modify postOps failed\n"));
+               LDAP_LOG( OPERATION, INFO, "do_modify: modify postOps "
+                               "failed\n", 0, 0, 0 );
 #else
-               Debug (LDAP_DEBUG_TRACE, " modify postOps failed.\n", 0, 0, 0);
+               Debug(LDAP_DEBUG_TRACE, "do_modify: modify postOps "
+                               "failed.\n", 0, 0, 0);
 #endif
        }
 #endif /* defined( LDAP_SLAPI ) */