aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2012-01-19 22:54:57 +0100
committerYang Tse <yangsita@gmail.com>2012-01-19 22:54:57 +0100
commita7e8f4aabcb7f5b46e0dd94a9645c5cd2744f9da (patch)
tree3faa2e5c217d3da3b99e084fa8d1449bc61028a4 /tests/libtest
parente64d332e7909ea9ba76f241a0fdf9cfe4b6b1236 (diff)
testtrace.c: fix compiler warning
Diffstat (limited to 'tests/libtest')
-rw-r--r--tests/libtest/testtrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libtest/testtrace.c b/tests/libtest/testtrace.c
index 9c082394e..5cb5fec5e 100644
--- a/tests/libtest/testtrace.c
+++ b/tests/libtest/testtrace.c
@@ -111,7 +111,7 @@ int libtest_debug_cb(CURL *handle, curl_infotype type,
switch (type) {
case CURLINFO_TEXT:
- fprintf(stderr, "%s== Info: %s", timebuf, data);
+ fprintf(stderr, "%s== Info: %s", &timebuf[0], data);
default: /* in case a new one is introduced to shock us */
return 0;