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 704b7b497d80ed2d83e85b98a71bf18dc2e1c0f6..3bc02b50af7a5116cebfdad1f854912fbfa908ed 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 */