I am a derpetologist
This commit is contained in:
parent
a744fa640c
commit
35f42464c3
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ int patty_ax25_next_event(patty_ax25 *ax25, patty_ax25_event *ev) {
|
|||
memcpy(&ax25->unix_fds_pending_write, &ax25->unix_fds, sizeof(ax25->unix_fds));
|
||||
memcpy(&ax25->unix_fds_pending_error, &ax25->unix_fds, sizeof(ax25->unix_fds));
|
||||
|
||||
if (select(ax25->unix_fdmax,
|
||||
if (select(ax25->unix_fdmax + 1,
|
||||
&ax25->unix_fds_pending_read,
|
||||
&ax25->unix_fds_pending_write,
|
||||
&ax25->unix_fds_pending_error,
|
||||
|
|
Loading…
Add table
Reference in a new issue