summaryrefslogtreecommitdiffstats
path: root/lib/rules/impl.h
diff options
context:
space:
mode:
authorVladimír Čunát <vladimir.cunat@nic.cz>2024-03-11 08:09:38 +0100
committerAleš Mrázek <ales.mrazek@nic.cz>2024-07-02 14:07:48 +0200
commit824b1a52e6b1fd3850d5fc5060d578ae019c2e3a (patch)
tree2c3d2e0418ba0e12ef787dc44d49bd3aa14e7c97 /lib/rules/impl.h
parentdatamodel: check for unused tags during config validation (diff)
downloadknot-resolver-824b1a52e6b1fd3850d5fc5060d578ae019c2e3a.tar.xz
knot-resolver-824b1a52e6b1fd3850d5fc5060d578ae019c2e3a.zip
lib/rules kr_rules_init(): allow not overwriting the DB
Diffstat (limited to '')
-rw-r--r--lib/rules/impl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rules/impl.h b/lib/rules/impl.h
index 0d7de513..1a2ee4dd 100644
--- a/lib/rules/impl.h
+++ b/lib/rules/impl.h
@@ -20,7 +20,7 @@ extern struct kr_rules *the_rules;
#define ENSURE_the_rules \
if (!the_rules) { \
- int ret = kr_rules_init(NULL, 0); \
+ int ret = kr_rules_init(NULL, 0, true); \
if (ret) return ret; \
}