From 33acd6f041ad3f31a985da1cf54668d0e619535d Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sat, 21 Oct 2006 10:54:41 +0000 Subject: Compiler warning fix --- tests/libtest/lib536.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/libtest') 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; -- cgit v1.2.3