Commit 5cd267b2 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

removed obsoletetd myalarm() calls

parent 09da9007
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;
+1 −3
Original line number Diff line number Diff line
@@ -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);