forked from KolibriOS/kolibrios
Upload smaller House.3ds by macgub
git-svn-id: svn://kolibrios.org@8229 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
eeaa6d8239
commit
7c25661fa8
Binary file not shown.
@ -138,9 +138,22 @@ void DL_Draw_Window()
|
|||||||
|
|
||||||
void StartDownloading()
|
void StartDownloading()
|
||||||
{
|
{
|
||||||
|
char http_url[URL_SIZE];
|
||||||
|
char proxy_url[URL_SIZE];
|
||||||
StopDownloading();
|
StopDownloading();
|
||||||
if (strncmp(#downloader_edit,"http://",7)!=0) {
|
if (!strncmp(#downloader_edit,"https://",7)) {
|
||||||
notify("'File address should start from http://' -E");
|
notify("'HTTPS for download is not supported, trying to download the file via HTTP' -W");
|
||||||
|
sprintf(#http_url, "http://%s", #downloader_edit+8);
|
||||||
|
if (!downloader.Start(#http_url)) {
|
||||||
|
notify("'Download failed.' -E");
|
||||||
|
StopDownloading();
|
||||||
|
}
|
||||||
|
//sprintf(#proxy_url, "http://gate.aspero.pro/?site=%s", #downloader_edit);
|
||||||
|
//if (!downloader.Start(#proxy_url)) {
|
||||||
|
// notify("'Download failed.' -E");
|
||||||
|
// StopDownloading();
|
||||||
|
//}
|
||||||
|
DL_Draw_Window();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!downloader.Start(#downloader_edit)) {
|
if (!downloader.Start(#downloader_edit)) {
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user