]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix #574: Review fixes for it.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Mon, 29 Nov 2021 14:26:07 +0000 (15:26 +0100)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Mon, 29 Nov 2021 14:26:07 +0000 (15:26 +0100)
smallapp/unbound-checkconf.c

index 7dc9994f9df55fbfd9c197a90e8172adaa296969..768d5550bff95f0814281da1308161706fa8f8cd 100644 (file)
@@ -337,7 +337,7 @@ interfacechecks(struct config_file* cfg)
        socklen_t alen;
        int i, j, i2, j2;
        char*** resif = NULL;
-       int* num_resif = 0;
+       int* num_resif = NULL;
 
        if(cfg->num_ifs != 0) {
                resif = (char***)calloc(cfg->num_ifs, sizeof(char**));