]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
Make -S option work for ldns-read-zone
authorWillem Toorop <willem@NLnetLabs.nl>
Mon, 5 Dec 2011 15:21:20 +0000 (15:21 +0000)
committerWillem Toorop <willem@NLnetLabs.nl>
Mon, 5 Dec 2011 15:21:20 +0000 (15:21 +0000)
examples/ldns-read-zone.c

index 6794a5d42da2496016240e2df1cbcbe99c027e07..500e35589355622bb27a26ab605d106f8e5ae9ed 100644 (file)
@@ -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) {