apps/dl: final fix in HTTPS proxy
This commit is contained in:
@@ -190,7 +190,8 @@ void StartDownloading()
|
||||
DrawWindow();
|
||||
return;
|
||||
}
|
||||
miniprintf(#get_url, "%s%s", #proxy_address, #uEdit);
|
||||
strcpy(#get_url, #proxy_address);
|
||||
strncat(#get_url, #uEdit, URL_SIZE);
|
||||
} else {
|
||||
strcpy(#get_url, #uEdit);
|
||||
}
|
||||
@@ -286,16 +287,6 @@ void MonitorProgress()
|
||||
|
||||
void CompleteDownload()
|
||||
{
|
||||
char dbg[128];
|
||||
strcpy(#dbg, "DIAG len=");
|
||||
strcat(#dbg, itoa(http.content_received));
|
||||
strcat(#dbg, " clen=");
|
||||
strcat(#dbg, itoa(http.content_length));
|
||||
strcat(#dbg, " ptr=");
|
||||
strcat(#dbg, itoa(http.content_pointer));
|
||||
strcat(#dbg, " rr=");
|
||||
strcat(#dbg, itoa(http.receive_result));
|
||||
notify(#dbg);
|
||||
SaveFile(0);
|
||||
if (autoclose.checked) ExitProcess();
|
||||
pb.value = pb.max;
|
||||
|
||||
Reference in New Issue
Block a user