diff options
Diffstat (limited to 'examples/testd.c')
-rw-r--r-- | examples/testd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/testd.c b/examples/testd.c index f9140cc..7e0d791 100644 --- a/examples/testd.c +++ b/examples/testd.c @@ -146,7 +146,7 @@ int main(int argc, char *argv[]) { } /* Check if a signal has been recieved */ - if (FD_ISSET(fd, &fds)) { + if (FD_ISSET(fd, &fds2)) { int sig; /* Get signal */ |