From cf2cb85fabf4c45188dc099577e5d60ef66d0005 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Thu, 10 May 2001 17:40:12 +0000 Subject: [PATCH] Clean up logging --- servers/slapd/modify.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/servers/slapd/modify.c b/servers/slapd/modify.c index 21b4bbcd6b..979a97efe9 100644 --- a/servers/slapd/modify.c +++ b/servers/slapd/modify.c @@ -54,7 +54,6 @@ do_modify( Debug( LDAP_DEBUG_TRACE, "do_modify\n", 0, 0, 0 ); #endif - /* * Parse the modify request. It looks like this: * @@ -352,7 +351,8 @@ int slap_modlist2mods( int update, Modifications **mods, const char **text, - char *textbuf, size_t textlen ) + char *textbuf, + size_t textlen ) { int rc; Modifications **modtail = mods; @@ -425,12 +425,12 @@ int slap_modlist2mods( if( !validate ) { #ifdef NEW_LOGGING LDAP_LOG(( "operation", LDAP_LEVEL_ERR, - "modlist2mods: Attribute %s, no validator for syntax %s\n", - ml->ml_type, ad->ad_type->sat_syntax->ssyn_oid )); + "modlist2mods: %s: no validator for syntax %s\n", + ml->ml_type, ad->ad_type->sat_syntax->ssyn_oid )); #else Debug( LDAP_DEBUG_TRACE, - "modlist2mods: no validator for syntax %s\n", - ad->ad_type->sat_syntax->ssyn_oid, 0, 0 ); + "modlist2mods: %s: no validator for syntax %s\n", + ml->ml_type, ad->ad_type->sat_syntax->ssyn_oid, 0 ); #endif slap_mods_free( mod ); -- 2.39.5