From: Willem Toorop Date: Mon, 5 Dec 2011 15:21:20 +0000 (+0000) Subject: Make -S option work for ldns-read-zone X-Git-Tag: release-1.6.12~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7d9ab0b6131e08be1415d638f58ee852f89a8a1;p=thirdparty%2Fldns.git Make -S option work for ldns-read-zone --- diff --git a/examples/ldns-read-zone.c b/examples/ldns-read-zone.c index 6794a5d4..500e3558 100644 --- a/examples/ldns-read-zone.c +++ b/examples/ldns-read-zone.c @@ -35,7 +35,7 @@ main(int argc, char **argv) ldns_rr_type cur_rr_type; const ldns_output_format *fmt = NULL; ldns_soa_serial_increment_func_t soa_serial_increment_func = NULL; - int soa_serial_increment_func_data; + int soa_serial_increment_func_data = 0; while ((c = getopt(argc, argv, "bcdhnsvzS:")) != -1) { switch(c) {