1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-11 20:15:03 -05:00

avoid compiler warning without USE_ALARM_TIMEOUT

This commit is contained in:
Daniel Stenberg 2010-03-24 17:00:20 +01:00
parent c869ae7447
commit c245a8f92e

View File

@ -624,9 +624,9 @@ int Curl_resolv_timeout(struct connectdata *conn,
*/ */
rc = Curl_resolv(conn, hostname, port, entry); rc = Curl_resolv(conn, hostname, port, entry);
#ifdef USE_ALARM_TIMEOUT
clean_up: clean_up:
#ifdef USE_ALARM_TIMEOUT
if (timeout > 0) { if (timeout > 0) {
#ifdef HAVE_SIGACTION #ifdef HAVE_SIGACTION