diff --git a/src/launchpad.cpp b/src/launchpad.cpp index 220fabf..4d861ce 100644 --- a/src/launchpad.cpp +++ b/src/launchpad.cpp @@ -257,7 +257,7 @@ std::optional launchpad::api_get(const std::string& endpoint, const curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, WriteCallback); curl_easy_setopt(curl, CURLOPT_WRITEDATA, &readBuffer); - bool tries = 0; + int tries = 0; long http_code = 0; while (tries < 5) { @@ -334,7 +334,7 @@ std::optional launchpad::api_post( curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, WriteCallback); curl_easy_setopt(curl, CURLOPT_WRITEDATA, &readBuffer); - bool tries = 0; + int tries = 0; long http_code = 0; while (tries < 5) {