Commit 626ddd9c authored by Carlos Eduardo Cichon Henriques's avatar Carlos Eduardo Cichon Henriques
Browse files

Fixes lint in connetion.cpp


Signed-off-by: Carlos Eduardo Cichon Henriques's avatarCarlos Eduardo Cichon Henriques <cech19@inf.ufpr.br>
parent 655d8b48
Pipeline #23789 failed with stages
in 37 minutes and 14 seconds
......@@ -191,14 +191,13 @@ void Connection::setCurlOption(std::string url, Agent* agent,
curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, &Connection::callback);
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
// curl_easy_setopt(curl, CURLOPT_FAILONERROR, true);
response = curl_easy_perform(curl);
curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &httpCode);
curl_easy_cleanup(curl);
}
/** Contact webservice server using proxy to get agent version.
/** Contact webservice server using proxy to get agent version.
* @brief Obs:
* - Is a get request.
*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment