]> git.ipfire.org Git - thirdparty/FORT-validator.git/commitdiff
Fix bug: wasn't retrying TAL URIs download on previous URI errors.
authorpcarana <pc.moreno2099@gmail.com>
Wed, 22 Jan 2020 00:27:27 +0000 (18:27 -0600)
committerpcarana <pc.moreno2099@gmail.com>
Wed, 22 Jan 2020 00:27:27 +0000 (18:27 -0600)
src/object/tal.c

index d1b908e25494f88ef7da01849b0e210213556b87..592b8cef05a927f433ea331b62ec8092b19848a2 100644 (file)
@@ -492,10 +492,9 @@ handle_tal_uri(struct tal *tal, struct rpki_uri *uri, void *arg)
                error = handle_https_uri(uri);
 
        if (error) {
-               pr_warn("TAL '%s' could not be downloaded.",
-                   uri_get_printable(uri));
                validation_destroy(state);
-               return ENSURE_NEGATIVE(error);
+               return pr_warn("TAL '%s' could not be downloaded.",
+                   uri_get_printable(uri));;
        }
 
        pr_debug("TAL URI '%s' {", uri_get_printable(uri));