summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-07-02 23:37:00 +0200
committerCarl Hetherington <cth@carlh.net>2021-07-02 23:37:00 +0200
commit16e560c3815b52609de103b45c1d5d2cbf155b97 (patch)
tree7119c65425def1be997ace9cec2905620373cdce
parentaeff733d3127e2629388a9a019c07d9f32647d85 (diff)
Don't abort the update checker thread when one curl_easy_perform fails.
-rw-r--r--src/lib/update_checker.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/update_checker.cc b/src/lib/update_checker.cc
index 704b7b497..3bc02b50a 100644
--- a/src/lib/update_checker.cc
+++ b/src/lib/update_checker.cc
@@ -136,7 +136,7 @@ UpdateChecker::thread ()
int r = curl_easy_perform (_curl);
if (r != CURLE_OK) {
set_state (State::FAILED);
- return;
+ continue;
}
/* Parse the reply */