From: Yang Tse Date: Thu, 2 Oct 2008 14:42:57 +0000 (+0000) Subject: fix compiler warning: `variable' might be clobbered by `longjmp' or `vfork' X-Git-Tag: curl-7_19_1~238 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=00dec36c725a0ce934ab0668ac8cb9822557c606;p=thirdparty%2Fcurl.git fix compiler warning: `variable' might be clobbered by `longjmp' or `vfork' --- diff --git a/lib/hostip.h b/lib/hostip.h index 3864dd90b8..08545d94ed 100644 --- a/lib/hostip.h +++ b/lib/hostip.h @@ -166,7 +166,7 @@ int Curl_resolv(struct connectdata *conn, const char *hostname, int port, struct Curl_dns_entry **dnsentry); int Curl_resolv_timeout(struct connectdata *conn, const char *hostname, int port, struct Curl_dns_entry **dnsentry, - long timeout); + volatile long timeout); /* * Curl_ipvalid() checks what CURL_IPRESOLVE_* requirements that might've