Skip to content
Snippets Groups Projects
Commit 6c014e42 authored by Dan Fandrich's avatar Dan Fandrich
Browse files

test1514: Got rid of a non-const initializer C99ism

parent 4013a2aa
No related branches found
No related tags found
No related merge requests found
......@@ -57,7 +57,7 @@ int test(char *URL)
CURL *curl;
CURLcode result = CURLE_OK;
int res = 0;
struct WriteThis pooh = { data, strlen(data) };
struct WriteThis pooh = { data, sizeof(data)-1 };
global_init(CURL_GLOBAL_ALL);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment