Print output on a new line

This commit is contained in:
Framawiki 2017-05-05 21:33:23 +02:00
parent 02b2d5a99c
commit 82475fd04d

View File

@ -131,6 +131,7 @@ int main(int argc, char *argv[])
/* Perform the request, res will get the return HTTP code */ /* Perform the request, res will get the return HTTP code */
res = curl_easy_perform(curl); res = curl_easy_perform(curl);
/* Check for errors */ /* Check for errors */
cerr << "\n";
if(res != CURLE_OK) if(res != CURLE_OK)
{ {
cerr << "curl_easy_perform() failed: " << curl_easy_strerror(res) << endl; cerr << "curl_easy_perform() failed: " << curl_easy_strerror(res) << endl;