https://git.reactos.org/?p=reactos.git;a=commitdiff;h=1b8b339aae27e4dc814149b628ac3a3aac00f4ea

commit 1b8b339aae27e4dc814149b628ac3a3aac00f4ea
Author:     Joachim Henze <joachim.he...@reactos.org>
AuthorDate: Sun Jun 14 20:03:33 2020 +0200
Commit:     Joachim Henze <joachim.he...@reactos.org>
CommitDate: Sun Jun 14 20:03:33 2020 +0200

    [DNSRSLVR] Define NDEBUG in cache.c
    
    To avoid leaking private data into logs by default.
    Some testers may consider their DNS-suffix private data.
    And DnsIntCacheAddEntry() logs that via Record->pName.
---
 base/services/dnsrslvr/cache.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/base/services/dnsrslvr/cache.c b/base/services/dnsrslvr/cache.c
index e61cc8695a7..b232989f372 100644
--- a/base/services/dnsrslvr/cache.c
+++ b/base/services/dnsrslvr/cache.c
@@ -8,7 +8,7 @@
 
 #include "precomp.h"
 
-//#define NDEBUG
+#define NDEBUG
 #include <debug.h>
 
 static RESOLVER_CACHE DnsCache;

Reply via email to