diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2014-01-22 01:47:53 +0100 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2014-01-22 01:49:55 +0100 |
commit | 6c014e4283dfa344d6300584b8b300b0291bc57d (patch) | |
tree | 723e3a86b0f7227d36de55a11aac4944fe339e9e | |
parent | 4013a2aa6407a18a6e516fd9f286c1c9157bde0f (diff) |
test1514: Got rid of a non-const initializer C99ism
-rw-r--r-- | tests/libtest/lib1514.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libtest/lib1514.c b/tests/libtest/lib1514.c index b6136efe0..ec8f8a325 100644 --- a/tests/libtest/lib1514.c +++ b/tests/libtest/lib1514.c @@ -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); |