mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
test1514: Got rid of a non-const initializer C99ism
This commit is contained in:
parent
4013a2aa64
commit
6c014e4283
@ -57,7 +57,7 @@ int test(char *URL)
|
|||||||
CURL *curl;
|
CURL *curl;
|
||||||
CURLcode result = CURLE_OK;
|
CURLcode result = CURLE_OK;
|
||||||
int res = 0;
|
int res = 0;
|
||||||
struct WriteThis pooh = { data, strlen(data) };
|
struct WriteThis pooh = { data, sizeof(data)-1 };
|
||||||
|
|
||||||
global_init(CURL_GLOBAL_ALL);
|
global_init(CURL_GLOBAL_ALL);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user