Rev 8839 | Rev 9287 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8839 | Rev 9246 | ||
---|---|---|---|
Line 46... | Line 46... | ||
46 | //shared_url = memopen(#dl_shared, URL_SIZE+1, SHM_OPEN + SHM_WRITE); |
46 | //shared_url = memopen(#dl_shared, URL_SIZE+1, SHM_OPEN + SHM_WRITE); |
47 | strcpy(#uEdit, shared_url); |
47 | strcpy(#uEdit, shared_url); |
48 | } else { |
48 | } else { |
49 | strcpy(#uEdit, #param); |
49 | strcpy(#uEdit, #param); |
50 | } |
50 | } |
- | 51 | ||
- | 52 | if (streq(#param, "-test")) { |
|
- | 53 | strcpy(#uEdit, URL_SPEED_TEST); |
|
- | 54 | RunProgram("/sys/network/netstat", NULL); |
|
- | 55 | notify(SPEED_TEST_INFO_MESSAGE); |
|
- | 56 | } |
|
51 | } |
57 | } |
52 | if (uEdit[0]) StartDownloading(); else { |
58 | if (uEdit[0]) StartDownloading(); else { |
53 | edit_box_set_text stdcall (#ed, "http://"); |
59 | edit_box_set_text stdcall (#ed, "http://"); |
54 | } |
60 | } |