diff --git a/services/media_engine/plugins/source/http_source/download/downloader.cpp b/services/media_engine/plugins/source/http_source/download/downloader.cpp index 9003e6e0312da1c383adb50037b30797f1e29502..925cd9960e65523d0f6513ca1d51014b68f08a4f 100644 --- a/services/media_engine/plugins/source/http_source/download/downloader.cpp +++ b/services/media_engine/plugins/source/http_source/download/downloader.cpp @@ -331,7 +331,7 @@ void Downloader::HttpDownloadLoop() task_->PauseAsync(); return; } - NetworkClientErrorCode clientCode = NetworkClientErrorCode::ERROR_OK; + NetworkClientErrorCode clientCode = NetworkClientErrorCode::ERROR_UNKNOWN; NetworkServerErrorCode serverCode = 0; int64_t startPos = currentRequest_->startPos_; if (currentRequest_->requestWholeFile_ && currentRequest_->shouldSaveData_) {