]> granicus.if.org Git - curl/commitdiff
Compiler warning fix
authorYang Tse <yangsita@gmail.com>
Sat, 21 Oct 2006 10:54:41 +0000 (10:54 +0000)
committerYang Tse <yangsita@gmail.com>
Sat, 21 Oct 2006 10:54:41 +0000 (10:54 +0000)
tests/libtest/lib536.c

index ca6c5c6b5a82ce8946a104f4ea7767ec14be185b..6ac24b40d314aa0e8b98328ab1dd51530941d7db 100644 (file)
@@ -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;