From: Yang Tse Date: Thu, 4 Apr 2013 14:18:44 +0000 (+0200) Subject: easy.c: fix compiler warning X-Git-Tag: curl-7_30_0~53 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5f5e4c92c469df24de131b33ebee9ad9a8fa919a;p=thirdparty%2Fcurl.git easy.c: fix compiler warning --- diff --git a/lib/easy.c b/lib/easy.c index 6601d9b164..72e1206f4b 100644 --- a/lib/easy.c +++ b/lib/easy.c @@ -276,7 +276,8 @@ CURLcode curl_global_init(long flags) } #endif - Curl_ack_eintr = flags & CURL_GLOBAL_ACK_EINTR; + if(flags & CURL_GLOBAL_ACK_EINTR) + Curl_ack_eintr = 1; init_flags = flags;