Er, int not bool

This commit is contained in:
Simon Quigley 2024-12-16 19:58:59 -06:00
parent 48518fc076
commit 7b435df95d

View File

@ -257,7 +257,7 @@ std::optional<std::string> 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<std::string> 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) {