From 239d6326bd466a6b8bd57fa85a1c6d2d22c20fa4 Mon Sep 17 00:00:00 2001 From: Emmanuel Christophe <emmanuel.christophe@orfeo-toolbox.org> Date: Sun, 21 Nov 2010 12:26:10 -0800 Subject: [PATCH] STYLE: manual style fix --- Code/IO/otbCurlHelper.cxx | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/Code/IO/otbCurlHelper.cxx b/Code/IO/otbCurlHelper.cxx index 890244431e..5f83b9b9a3 100644 --- a/Code/IO/otbCurlHelper.cxx +++ b/Code/IO/otbCurlHelper.cxx @@ -180,8 +180,7 @@ int CurlHelper::RetrieveFileMulti(const std::vector<std::string>& listURLs, // Perform int lStillRunning; - while (CURLM_CALL_MULTI_PERFORM == curl_multi_perform(multiHandle, &lStillRunning)) -; + while (CURLM_CALL_MULTI_PERFORM == curl_multi_perform(multiHandle, &lStillRunning)); // Now get that URL while (lStillRunning) @@ -213,13 +212,10 @@ int CurlHelper::RetrieveFileMulti(const std::vector<std::string>& listURLs, /* select error */ break; case 0: - /* timeout */ + /* timeout */ default: /* timeout or readable/writable sockets */ - while ( - CURLM_CALL_MULTI_PERFORM == curl_multi_perform(multiHandle, &lStillRunning) - ) - ; + while (CURLM_CALL_MULTI_PERFORM == curl_multi_perform(multiHandle, &lStillRunning)); break; } } -- GitLab