From e7d9ab0b6131e08be1415d638f58ee852f89a8a1 Mon Sep 17 00:00:00 2001 From: Willem Toorop Date: Mon, 5 Dec 2011 15:21:20 +0000 Subject: [PATCH] Make -S option work for ldns-read-zone --- examples/ldns-read-zone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.47.3