[Opendnssec-commits] [keihatsu.kirei.se/svn/dnssec] r3697 - trunk/OpenDNSSEC/signer/src/util

Jakob Schlyter jakob at kirei.se
Tue Aug 10 11:06:30 CEST 2010


Author: jakob
Date: 2010-08-10 11:06:30 +0200 (Tue, 10 Aug 2010)
New Revision: 3697

Modified:
   trunk/OpenDNSSEC/signer/src/util/file.c
Log:
revert assert, print NULL

Modified: trunk/OpenDNSSEC/signer/src/util/file.c
===================================================================
--- trunk/OpenDNSSEC/signer/src/util/file.c	2010-08-10 09:04:26 UTC (rev 3696)
+++ trunk/OpenDNSSEC/signer/src/util/file.c	2010-08-10 09:06:30 UTC (rev 3697)
@@ -158,10 +158,9 @@
     size_t len_total = 0;
     char* openf = NULL;
 
-    se_log_assert(file);
-    se_log_assert(dir);
     se_log_assert(mode);
-    se_log_debug("open file: dir %s file %s for %s", dir, file,
+    se_log_debug("open file: dir %s file %s for %s", 
+        (dir ? dir : "NULL"), (file ? file : "NULL"),
         se_file_mode2str(mode));
 
     if (dir) {




More information about the Opendnssec-commits mailing list