diff options
author | Eugene Sandulenko | 2016-07-22 15:38:24 +0300 |
---|---|---|
committer | Alexander Tkachev | 2016-08-24 16:07:55 +0600 |
commit | d57fca4665e65bca1cf487fb109d020d1233e800 (patch) | |
tree | c5a8b0e88f4c55e0f2e2afb2f78a4cd1f89d66f3 /backends/networking/curl/request.cpp | |
parent | cccfe7c247fed9b00c100e64433439386d6ef077 (diff) | |
download | scummvm-rg350-d57fca4665e65bca1cf487fb109d020d1233e800.tar.gz scummvm-rg350-d57fca4665e65bca1cf487fb109d020d1233e800.tar.bz2 scummvm-rg350-d57fca4665e65bca1cf487fb109d020d1233e800.zip |
CLOUD: JANITORIAL: Fix code formatting
Diffstat (limited to 'backends/networking/curl/request.cpp')
-rw-r--r-- | backends/networking/curl/request.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/backends/networking/curl/request.cpp b/backends/networking/curl/request.cpp index 4a2704fc76..30af48a478 100644 --- a/backends/networking/curl/request.cpp +++ b/backends/networking/curl/request.cpp @@ -39,8 +39,9 @@ Request::~Request() { } void Request::handleRetry() { - if (_retryInSeconds > 0) --_retryInSeconds; - else { + if (_retryInSeconds > 0) { + --_retryInSeconds; + } else { _state = PROCESSING; restart(); } @@ -64,7 +65,8 @@ Common::String Request::date() const { return ""; } void Request::finishError(ErrorResponse error) { _state = FINISHED; - if (_errorCallback) (*_errorCallback)(error); + if (_errorCallback) + (*_errorCallback)(error); } void Request::finishSuccess() { _state = FINISHED; } |