diff options
author | Yang Tse <yangsita@gmail.com> | 2013-04-04 16:18:44 +0200 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2013-04-04 16:31:26 +0200 |
commit | 5f5e4c92c469df24de131b33ebee9ad9a8fa919a (patch) | |
tree | 33da9edda7889f2942eeea1abc849f2d6604bdf5 | |
parent | 07cca0dc7c3e457430163585b6b4c6d38baf0925 (diff) |
easy.c: fix compiler warning
-rw-r--r-- | lib/easy.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/easy.c b/lib/easy.c index 6601d9b16..72e1206f4 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; |