aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2013-04-04 16:18:44 +0200
committerYang Tse <yangsita@gmail.com>2013-04-04 16:31:26 +0200
commit5f5e4c92c469df24de131b33ebee9ad9a8fa919a (patch)
tree33da9edda7889f2942eeea1abc849f2d6604bdf5
parent07cca0dc7c3e457430163585b6b4c6d38baf0925 (diff)
easy.c: fix compiler warning
-rw-r--r--lib/easy.c3
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;