projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09da900
)
removed obsoletetd myalarm() calls
author
Daniel Stenberg
<daniel@haxx.se>
Mon, 1 Oct 2001 11:35:29 +0000
(11:35 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Mon, 1 Oct 2001 11:35:29 +0000
(11:35 +0000)
lib/ftp.c
patch
|
blob
|
history
lib/transfer.c
patch
|
blob
|
history
diff --git
a/lib/ftp.c
b/lib/ftp.c
index
5576a30
..
38d9d70
100644
(file)
--- a/
lib/ftp.c
+++ b/
lib/ftp.c
@@
-353,8
+353,6
@@
CURLcode Curl_ftp_connect(struct connectdata *conn)
CURLcode result;
int ftpcode;
- myalarm(0); /* switch off the alarm stuff */
-
ftp = (struct FTP *)malloc(sizeof(struct FTP));
if(!ftp)
return CURLE_OUT_OF_MEMORY;
diff --git
a/lib/transfer.c
b/lib/transfer.c
index
dc62898
..
0a4c93e
100644
(file)
--- a/
lib/transfer.c
+++ b/
lib/transfer.c
@@
-220,8
+220,6
@@
Transfer(struct connectdata *c_conn)
hbufp = data->state.headerbuff;
- myalarm (0); /* switch off the alarm-style timeout */
-
now = Curl_tvnow();
start = now;
@@
-1127,7
+1125,7
@@
CURLcode Curl_perform(struct SessionHandle *data)
if(newurl)
free(newurl);
- /* make sure the alarm is switched off! */
+ /* make
absolutely
sure the alarm is switched off! */
if(data->set.timeout || data->set.connecttimeout)
myalarm(0);