]> git.ipfire.org Git - thirdparty/FORT-validator.git/commitdiff
Fix usage of incorrect configuration field
authorAlberto Leiva Popper <ydahhrk@gmail.com>
Wed, 4 Oct 2023 20:57:32 +0000 (14:57 -0600)
committerAlberto Leiva Popper <ydahhrk@gmail.com>
Wed, 4 Oct 2023 20:57:32 +0000 (14:57 -0600)
src/http/http.c

index 24d080a21220b6248825758a4d90f6d8c55856e4..c838e5e1f6adfb38b00ee46150a5f462b69dad71 100644 (file)
@@ -416,7 +416,7 @@ http_download(struct rpki_uri *uri, bool *changed)
                changed = &__changed;
        *changed = false;
 
-       if (!config_get_rsync_enabled())
+       if (!config_get_http_enabled())
                return 0; /* Skip; caller will work with existing cache. */
 
        error = cache_tmpfile(&tmp_file_name);