aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2010-03-24 17:00:20 +0100
committerDaniel Stenberg <daniel@haxx.se>2010-03-24 17:00:20 +0100
commitc245a8f92e7bb2b5bfe181af647ee4766a0f33fe (patch)
tree65d64082756b76e19b2a88b84910b217e03068f5 /lib
parentc869ae74478638a90414b392d5418d26e0b36de5 (diff)
avoid compiler warning without USE_ALARM_TIMEOUT
Diffstat (limited to 'lib')
-rw-r--r--lib/hostip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hostip.c b/lib/hostip.c
index 04a29a754..e34fd5a99 100644
--- a/lib/hostip.c
+++ b/lib/hostip.c
@@ -624,9 +624,9 @@ int Curl_resolv_timeout(struct connectdata *conn,
*/
rc = Curl_resolv(conn, hostname, port, entry);
+#ifdef USE_ALARM_TIMEOUT
clean_up:
-#ifdef USE_ALARM_TIMEOUT
if (timeout > 0) {
#ifdef HAVE_SIGACTION