]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/suffixalias.c
Fix LBER_ERROR vs. -1 confusion.
[openldap] / servers / slapd / suffixalias.c
index faf68b95b4ce3ffecc4a170bbfcf4d8802cf491e..e42279d09ae1022001a2f158dc61c99795d8a7cf 100644 (file)
@@ -1,6 +1,6 @@
 /* $OpenLDAP$ */
 /*
- * Copyright 1999-2002 The OpenLDAP Foundation, All Rights Reserved.
+ * Copyright 1999-2003 The OpenLDAP Foundation, All Rights Reserved.
  *
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file in the top level
  * directory of this package.
@@ -65,9 +65,9 @@ void suffix_alias(
                        strncpy( dn->bv_val, oldDN, diff );
                        strcpy( &dn->bv_val[diff], be->be_suffixAlias[i+1].bv_val );
 #ifdef NEW_LOGGING
-                       LDAP_LOG(( "operation", LDAP_LEVEL_INFO,
-                                  "suffix_alias: converted \"%s\" to \"%s\"\n",
-                                  oldDN, dn->bv_val ));
+                       LDAP_LOG( OPERATION, INFO, 
+                               "suffix_alias: converted \"%s\" to \"%s\"\n",
+                               oldDN, dn->bv_val, 0 );
 #else
                        Debug( LDAP_DEBUG_ARGS,
                                "suffix_alias: converted \"%s\" to \"%s\"\n",