mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-19 11:49:09 +00:00
actually display the status message in the launcher
This commit is contained in:
@ -602,6 +602,7 @@ static void StatusCallback(void *)
|
|||||||
{
|
{
|
||||||
curl_easy_setopt(hCurl, CURLOPT_USERAGENT, "UruClient/1.0");
|
curl_easy_setopt(hCurl, CURLOPT_USERAGENT, "UruClient/1.0");
|
||||||
curl_easy_setopt(hCurl, CURLOPT_URL, serverUrl);
|
curl_easy_setopt(hCurl, CURLOPT_URL, serverUrl);
|
||||||
|
curl_easy_setopt(hCurl, CURLOPT_WRITEFUNCTION, &CurlCallback);
|
||||||
|
|
||||||
if (serverUrl[0] && curl_easy_perform(hCurl) != 0) // only perform request if there's actually a URL set
|
if (serverUrl[0] && curl_easy_perform(hCurl) != 0) // only perform request if there's actually a URL set
|
||||||
SetStatusText(s_curlError);
|
SetStatusText(s_curlError);
|
||||||
|
Reference in New Issue
Block a user