]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
remove warning.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 16 May 2017 07:30:44 +0000 (07:30 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 16 May 2017 07:30:44 +0000 (07:30 +0000)
git-svn-id: file:///svn/unbound/trunk@4156 be551aaa-1e26-0410-a405-d3ace91eadb9

cachedb/cachedb.c

index a326d6ef8dbca209a7e7ecb95b687e94bdcb9095..dda94ca6c39183ca3de90befd67257ef569fa97f 100644 (file)
@@ -176,7 +176,7 @@ cachedb_apply_cfg(struct cachedb_env* cachedb_env, struct config_file* cfg)
                if(!cachedb_env->backend) {
                        log_err("cachedb: cannot find backend name '%s",
                                backend_str);
-                       return NULL;
+                       return 0;
                }
        }
        /* TODO see if more configuration needs to be applied or not */