From 6c69431a70621f851d6eedca416de25cc8b9dc60 Mon Sep 17 00:00:00 2001 From: pcarana Date: Tue, 21 Jan 2020 18:27:27 -0600 Subject: [PATCH] Fix bug: wasn't retrying TAL URIs download on previous URI errors. --- src/object/tal.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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)); -- 2.47.2