1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-16 06:25:03 -05:00

multi.c: Fix compilation warning

warning: an enumerated type is mixed with another type
This commit is contained in:
Steve Holme 2013-03-21 07:33:45 +00:00
parent 9a13a516b4
commit 7713e67bc5

View File

@ -636,7 +636,7 @@ CURLMcode curl_multi_remove_handle(CURLM *multi_handle,
bool Curl_multi_pipeline_enabled(const struct Curl_multi* multi) 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) void Curl_multi_handlePipeBreak(struct SessionHandle *data)