@@ -339,10 +339,9 @@ bool CSDK::CheckDownload(std::string file, STMid& mid)
// ¸üÐÂÈÎÎñ״̬;
if ( ReportDownloadStatus(mid.order) == 0 )
{
- db.UpdateDownloadStatus(mid.order, 1);
+ if ( db.UpdateDownloadStatus(mid.order, 1) )
+ return true;
}
-
- return true;