fix compiler warning: variable' might be clobbered by longjmp' or `vfork'

This commit is contained in:
Yang Tse 2008-10-02 13:28:10 +00:00
parent b64f0dace3
commit 26a651f7ae
2 changed files with 7 additions and 7 deletions

View file

@ -524,7 +524,7 @@ int Curl_resolv_timeout(struct connectdata *conn,
const char *hostname,
int port,
struct Curl_dns_entry **entry,
long timeout)
volatile long timeout)
{
#ifdef USE_ALARM_TIMEOUT
#ifdef HAVE_SIGACTION