Skip to content

Commit 7ab0cd9

Browse files
committed
up
1 parent a912bbd commit 7ab0cd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kbe/src/server/baseapp/data_download.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ DataDownload::~DataDownload()
5454

5555
if(proxy)
5656
{
57-
proxy->onStreamComplete(id_, totalSentBytes_ == totalBytes_);
57+
proxy->onStreamComplete(id_, totalBytes_ > 0 ? totalSentBytes_ == totalBytes_ : false);
5858
}
5959
}
6060

0 commit comments

Comments
 (0)