aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-10-02 14:42:57 +0000
committerYang Tse <yangsita@gmail.com>2008-10-02 14:42:57 +0000
commit00dec36c725a0ce934ab0668ac8cb9822557c606 (patch)
tree970e197e8af1f1e4af717d9f9ffc1fa80921914b
parent26a651f7aef8f51df4320f0adc0179896ee23b95 (diff)
fix compiler warning: `variable' might be clobbered by `longjmp' or `vfork'
-rw-r--r--lib/hostip.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hostip.h b/lib/hostip.h
index 3864dd90b..08545d94e 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