apps/dl: add debug logs for 1 MB zeros problem
This commit is contained in:
@@ -286,6 +286,15 @@ void MonitorProgress()
|
||||
|
||||
void CompleteDownload()
|
||||
{
|
||||
char dbg[128];
|
||||
strcpy(#dbg, "DIAG len=");
|
||||
strcat(#dbg, itoa(http.content_received));
|
||||
strcat(#dbg, " ptr=");
|
||||
strcat(#dbg, itoa(http.content_pointer));
|
||||
strcat(#dbg, " first4=");
|
||||
if (http.content_pointer) strcat(#dbg, itoa(ESDWORD[http.content_pointer]));
|
||||
else strcat(#dbg, "NULLPTR");
|
||||
notify(#dbg);
|
||||
SaveFile(0);
|
||||
if (autoclose.checked) ExitProcess();
|
||||
pb.value = pb.max;
|
||||
|
||||
Reference in New Issue
Block a user