aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2014-01-22 01:47:53 +0100
committerDan Fandrich <dan@coneharvesters.com>2014-01-22 01:49:55 +0100
commit6c014e4283dfa344d6300584b8b300b0291bc57d (patch)
tree723e3a86b0f7227d36de55a11aac4944fe339e9e
parent4013a2aa6407a18a6e516fd9f286c1c9157bde0f (diff)
test1514: Got rid of a non-const initializer C99ism
-rw-r--r--tests/libtest/lib1514.c2
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);