CLOUD: Fix finishSuccess() warning
This commit is contained in:
parent
fa3ea83165
commit
f3a392359b
34 changed files with 58 additions and 58 deletions
|
@ -101,7 +101,7 @@ void DownloadRequest::handle() {
|
|||
//TODO: do something about it actually
|
||||
}
|
||||
|
||||
finishSuccess(_remoteFileStream->httpResponseCode() == 200);
|
||||
finishDownload(_remoteFileStream->httpResponseCode() == 200);
|
||||
|
||||
_localFile->close(); //yes, I know it's closed automatically in ~DumpFile()
|
||||
}
|
||||
|
@ -113,7 +113,7 @@ void DownloadRequest::restart() {
|
|||
//start();
|
||||
}
|
||||
|
||||
void DownloadRequest::finishSuccess(bool success) {
|
||||
void DownloadRequest::finishDownload(bool success) {
|
||||
Request::finishSuccess();
|
||||
if (_boolCallback) (*_boolCallback)(Storage::BoolResponse(this, success));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue