]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
make sure the alarm is off when returning from curl_easy_perform()
authorDaniel Stenberg <daniel@haxx.se>
Tue, 27 Mar 2001 21:24:46 +0000 (21:24 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 27 Mar 2001 21:24:46 +0000 (21:24 +0000)
lib/transfer.c

index 4ce6f32aafb6edf27aa7d4adf32e524802f33b4a..1f2c6886fec140360fd4b3260290f5ccbbdccab9 100644 (file)
@@ -960,6 +960,10 @@ CURLcode Curl_perform(CURL *curl)
     conn->newurl = NULL;
   }
 
+  /* make sure the alarm is switched off! */
+  if(data->timeout || data->connecttimeout)
+    myalarm(0);
+
   return res;
 }