easy.c: fix compiler warning

This commit is contained in:
Yang Tse 2013-04-04 16:18:44 +02:00
parent 07cca0dc7c
commit 5f5e4c92c4

View File

@ -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;