testtrace.c: fix compiler warning

This commit is contained in:
Yang Tse 2012-01-19 22:54:57 +01:00
parent e64d332e79
commit a7e8f4aabc

View File

@ -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;