Don't abort the update checker thread when one curl_easy_perform fails.
authorCarl Hetherington <cth@carlh.net>
Fri, 2 Jul 2021 21:37:00 +0000 (23:37 +0200)
committerCarl Hetherington <cth@carlh.net>
Fri, 2 Jul 2021 21:37:00 +0000 (23:37 +0200)
src/lib/update_checker.cc

index 704b7b4..3bc02b5 100644 (file)
@@ -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 */