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

Matthijs Mekking matthijs at nlnetlabs.nl
Mon Aug 30 11:38:32 CEST 2010


Author: matthijs
Date: 2010-08-30 11:38:31 +0200 (Mon, 30 Aug 2010)
New Revision: 3825

Modified:
   trunk/OpenDNSSEC/signer/src/adapter/adfile.c
Log:
printf null checking



Modified: trunk/OpenDNSSEC/signer/src/adapter/adfile.c
===================================================================
--- trunk/OpenDNSSEC/signer/src/adapter/adfile.c	2010-08-30 08:21:25 UTC (rev 3824)
+++ trunk/OpenDNSSEC/signer/src/adapter/adfile.c	2010-08-30 09:38:31 UTC (rev 3825)
@@ -406,7 +406,8 @@
                 zone_in->zonedata->outbound_serial) {
                 se_log_error("cannot read zone %s: SOA SERIAL is set to keep "
                     "but serial %u in input zone is not incremental",
-                    zone_in->name, zone_in->zonedata->inbound_serial);
+                    zone_in->name?zone_in->name:"(null)",
+                    zone_in->zonedata->inbound_serial);
                 return 1;
             }
         }




More information about the Opendnssec-commits mailing list