projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e64d332
)
testtrace.c: fix compiler warning
author
Yang Tse
<yangsita@gmail.com>
Thu, 19 Jan 2012 21:54:57 +0000
(22:54 +0100)
committer
Yang Tse
<yangsita@gmail.com>
Thu, 19 Jan 2012 21:54:57 +0000
(22:54 +0100)
tests/libtest/testtrace.c
patch
|
blob
|
history
diff --git
a/tests/libtest/testtrace.c
b/tests/libtest/testtrace.c
index
9c08239
..
5cb5fec
100644
(file)
--- 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;