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

Rickard Bellgrim rickard.bellgrim at iis.se
Tue Aug 10 11:29:56 CEST 2010


Author: rb
Date: 2010-08-10 11:29:56 +0200 (Tue, 10 Aug 2010)
New Revision: 3700

Modified:
   trunk/OpenDNSSEC/signer/src/adapter/adfile.c
Log:
Read from correct file


Modified: trunk/OpenDNSSEC/signer/src/adapter/adfile.c
===================================================================
--- trunk/OpenDNSSEC/signer/src/adapter/adfile.c	2010-08-10 09:22:56 UTC (rev 3699)
+++ trunk/OpenDNSSEC/signer/src/adapter/adfile.c	2010-08-10 09:29:56 UTC (rev 3700)
@@ -482,7 +482,7 @@
     }
 
     /* read the zonefile */
-    fd = se_fopen(zone_in->inbound_adapter->filename, NULL, "r");
+    fd = se_fopen(filename, NULL, "r");
     if (fd) {
         error = adfile_read_file(fd, zone_in, 0);
         se_fclose(fd);
@@ -491,7 +491,7 @@
     }
     if (error) {
         se_log_error("error reading from input file adapter zone %s file %s",
-            zone_in->name, zone_in->inbound_adapter->filename);
+            zone_in->name, filename);
     }
     return error;
 }




More information about the Opendnssec-commits mailing list