@@ -30,8 +30,7 @@ const char* GetUserAgent()
3030 if (version_info && version_info->version )
3131 {
3232 result = std::string (" curl/" ) + version_info->version ;
33- }
34- });
33+ } });
3534
3635 return result.c_str ();
3736}
@@ -200,8 +199,7 @@ RequestResult PerformPostRequestWithRetry(CURL* curl,
200199 curl_easy_getinfo (curl, CURLINFO_RESPONSE_CODE, &result.response_code );
201200 }
202201
203- return result;
204- });
202+ return result; });
205203}
206204
207205// Helper function to perform a PUT request with binary data
@@ -224,8 +222,7 @@ RequestResult PerformPutRequestWithRetry(CURL* curl, const std::string& url,
224222 curl_easy_getinfo (curl, CURLINFO_RESPONSE_CODE, &result.response_code );
225223 }
226224
227- return result;
228- });
225+ return result; });
229226}
230227
231228struct BatchResponse
@@ -407,8 +404,7 @@ Communicator::UploadResult PerformUpload(const std::string& uploadUrl, const std
407404 {
408405 curl_easy_getinfo (curl.get (), CURLINFO_RESPONSE_CODE, &uploadResult.response_code );
409406 }
410- return uploadResult;
411- });
407+ return uploadResult; });
412408
413409 curl_slist_free_all (uploadHeaders);
414410
@@ -466,8 +462,7 @@ bool PerformVerify(const std::string& verifyUrl, const std::string& oid, size_t
466462 {
467463 curl_easy_getinfo (curl.get (), CURLINFO_RESPONSE_CODE, &verifyResult.response_code );
468464 }
469- return verifyResult;
470- });
465+ return verifyResult; });
471466
472467 curl_slist_free_all (verifyHeaders);
473468
0 commit comments