From: pcarana Date: Wed, 22 Jan 2020 00:27:27 +0000 (-0600) Subject: Fix bug: wasn't retrying TAL URIs download on previous URI errors. X-Git-Tag: v1.2.0~13 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=6c69431a70621f851d6eedca416de25cc8b9dc60;p=thirdparty%2FFORT-validator.git Fix bug: wasn't retrying TAL URIs download on previous URI errors. --- diff --git a/src/object/tal.c b/src/object/tal.c index d1b908e2..592b8cef 100644 --- a/src/object/tal.c +++ b/src/object/tal.c @@ -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));