aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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;