aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2006-10-21 10:54:41 +0000
committerYang Tse <yangsita@gmail.com>2006-10-21 10:54:41 +0000
commit33acd6f041ad3f31a985da1cf54668d0e619535d (patch)
tree5f82e6041b6f1fa4a70435a99f227be4b75715ff /tests
parent7575e6afc44f30f07a9bc8c2696c1fb451fd323e (diff)
Compiler warning fix
Diffstat (limited to 'tests')
-rw-r--r--tests/libtest/lib536.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libtest/lib536.c b/tests/libtest/lib536.c
index ca6c5c6b5..6ac24b40d 100644
--- a/tests/libtest/lib536.c
+++ b/tests/libtest/lib536.c
@@ -62,7 +62,7 @@ static CURLMcode perform(CURLM * multi)
}
/* We only reach this point if (mp_timedout) */
- fprintf(stderr, "mp_timedout\n");
+ if (mp_timedout) fprintf(stderr, "mp_timedout\n");
fprintf(stderr, "ABORTING TEST, since it seems "
"that it would have run forever.\n");
return (CURLMcode) ~CURLM_OK;