shut up curl im already long
This commit is contained in:
parent
32313adde6
commit
b716f9a49b
2 changed files with 5 additions and 4 deletions
|
|
@ -221,9 +221,9 @@ HMS_connect (const char *format, ...)
|
|||
#ifndef NO_IPV6
|
||||
if (!M_CheckParm("-ipv6"))
|
||||
#endif
|
||||
curl_easy_setopt(curl, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4);
|
||||
curl_easy_setopt(curl, CURLOPT_IPRESOLVE, (long)CURL_IPRESOLVE_V4);
|
||||
|
||||
curl_easy_setopt(curl, CURLOPT_TIMEOUT, cv_masterserver_timeout.value);
|
||||
curl_easy_setopt(curl, CURLOPT_TIMEOUT, (long)cv_masterserver_timeout.value);
|
||||
curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, HMS_on_read);
|
||||
curl_easy_setopt(curl, CURLOPT_WRITEDATA, buffer);
|
||||
|
||||
|
|
@ -340,7 +340,8 @@ HMS_unlist (void)
|
|||
if (! hms)
|
||||
return 0;
|
||||
|
||||
curl_easy_setopt(hms->curl, CURLOPT_CUSTOMREQUEST, "POST");
|
||||
curl_easy_setopt(hms->curl, CURLOPT_POST, (long)1);
|
||||
curl_easy_setopt(hms->curl, CURLOPT_POSTFIELDSIZE, (long)0);
|
||||
|
||||
ok = HMS_do(hms);
|
||||
HMS_end(hms);
|
||||
|
|
|
|||
|
|
@ -1695,7 +1695,7 @@ void S_ShowMusicCredit(void)
|
|||
UINT8 i = 0;
|
||||
musicdef_t *def = S_FindMusicDef(music_name, &i);
|
||||
|
||||
char credittext[128] = "";
|
||||
char credittext[128+1] = "";
|
||||
char *work = NULL;
|
||||
size_t len = 128, worklen;
|
||||
INT32 widthused = (3*BASEVIDWIDTH/4) - 7, workwidth;
|
||||
|
|
|
|||
Loading…
Reference in a new issue