s4-dsdb: avoid printing a pointless debug line
authorMatthieu Patou <mat@matws.net>
Mon, 8 Aug 2011 10:41:54 +0000 (14:41 +0400)
committerMatthieu Patou <mat@matws.net>
Tue, 9 Aug 2011 21:44:44 +0000 (01:44 +0400)
source4/dsdb/samdb/ldb_modules/repl_meta_data.c

index 706ca33e700024f962543b8f006be1c4be73d7e6..54741e6f9dd5a97c93a04ab707df0aa33910b9ac 100644 (file)
@@ -4188,7 +4188,7 @@ static int replmd_replicated_uptodate_modify(struct replmd_replicated_request *a
         */
        nrf_el->flags = LDB_FLAG_MOD_REPLACE;
 
-       if (DEBUGLVL(4)) {
+       if (CHECK_DEBUGLVL(4)) {
                char *s = ldb_ldif_message_string(ldb, ar, LDB_CHANGETYPE_MODIFY, msg);
                DEBUG(4, ("DRS replication uptodate modify message:\n%s\n", s));
                talloc_free(s);