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