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:
parent
9a13a516b4
commit
7713e67bc5
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user