multi.c: Fix compilation warning
authorSteve Holme <steve_holme@hotmail.com>
Thu, 21 Mar 2013 07:33:45 +0000 (07:33 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Thu, 21 Mar 2013 07:33:45 +0000 (07:33 +0000)
warning: an enumerated type is mixed with another type

lib/multi.c

index 2d1d7b5..5645fcf 100644 (file)
@@ -636,7 +636,7 @@ CURLMcode curl_multi_remove_handle(CURLM *multi_handle,
 
 bool Curl_multi_pipeline_enabled(const struct Curl_multi* multi)
 {
-  return multi && multi->pipelining_enabled;
+  return (multi && multi->pipelining_enabled) ? TRUE : FALSE;
 }
 
 void Curl_multi_handlePipeBreak(struct SessionHandle *data)