aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhpa <hpa>2001-11-15 04:11:39 +0000
committerhpa <hpa>2001-11-15 04:11:39 +0000
commit7028f9064afc48fcf2350cd4005a5aedb9100567 (patch)
treeb7a6cf8c7d719d9728c8ae6559b2e13ff0033864
parenteaed5dbbca2d59eeb5326c0caccdace11bdb0501 (diff)
downloadtftp-hpa-7028f9064afc48fcf2350cd4005a5aedb9100567.tar.gz
Kill SA_RESETHAND, it doesn't exist on MacOS X and isn't necessary
-rw-r--r--tftpd/tftpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tftpd/tftpd.c b/tftpd/tftpd.c
index c41ee93..dbfd13f 100644
--- a/tftpd/tftpd.c
+++ b/tftpd/tftpd.c
@@ -1098,7 +1098,7 @@ tftp_recvfile(struct formats *pf, struct tftphdr *oap, int oacklen)
ap->th_block = htons((u_short)(block));
(void) send(peer, ackbuf, 4, 0);
- set_signal(SIGALRM, justquit, SA_RESETHAND); /* just quit on timeout */
+ set_signal(SIGALRM, justquit, 0); /* just quit on timeout */
alarm(rexmtval);
n = recv(peer, buf, sizeof (buf), 0); /* normally times out and quits */
alarm(0);