| 444 | } |
| 445 | |
| 446 | void FetchServerTask_Run(const cc_string* hash) { |
| 447 | cc_string url; char urlBuffer[URL_MAX_SIZE]; |
| 448 | if (FetchServerTask.Base.working) return; |
| 449 | |
| 450 | LWebTask_Reset(&FetchServerTask.Base); |
| 451 | ServerInfo_Init(&FetchServerTask.server); |
| 452 | String_InitArray(url, urlBuffer); |
| 453 | String_Format2(&url, "%s/server/%s", &servicesServer, hash); |
| 454 | |
| 455 | FetchServerTask.Base.Handle = FetchServerTask_Handle; |
| 456 | FetchServerTask.Base.reqID = Http_AsyncGetDataEx(&url, 0, NULL, NULL, &ccCookies); |
| 457 | } |
| 458 | |
| 459 | |
| 460 | /*########################################################################################################################* |
no test coverage detected