forked from mirrors/tftp-hpa-google
Kill SA_RESETHAND, it doesn't exist on MacOS X and isn't necessary
This commit is contained in:
parent
eaed5dbbca
commit
7028f9064a
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue