/programs/network/downloader/downloader.asm |
---|
239,8 → 239,7 |
.write: |
mov ecx, [ebp + http_msg.content_received] |
sub ecx, [offset] |
jz .no_data ; more then 0 data bytes? |
jz download_loop ; more then 0 data bytes? |
mov [fileinfo.size], ecx |
mov eax, [ebp + http_msg.content_ptr] |
mov [fileinfo.buffer], eax |
259,7 → 258,6 |
invoke progressbar_draw, pb |
.no_data: |
test [ebp + http_msg.flags], FLAG_GOT_ALL_DATA |
jz download_loop |