aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-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);