diff options
author | hpa <hpa> | 2001-11-15 04:11:39 +0000 |
---|---|---|
committer | hpa <hpa> | 2001-11-15 04:11:39 +0000 |
commit | 7028f9064afc48fcf2350cd4005a5aedb9100567 (patch) | |
tree | b7a6cf8c7d719d9728c8ae6559b2e13ff0033864 | |
parent | eaed5dbbca2d59eeb5326c0caccdace11bdb0501 (diff) | |
download | tftp-hpa-7028f9064afc48fcf2350cd4005a5aedb9100567.tar.gz |
Kill SA_RESETHAND, it doesn't exist on MacOS X and isn't necessary
-rw-r--r-- | tftpd/tftpd.c | 2 |
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); |