Skip to content

Commit

Permalink
fix ccheck
Browse files Browse the repository at this point in the history
  • Loading branch information
jobo-zt committed Sep 4, 2024
1 parent d064cd2 commit 59dd559
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -757,12 +757,12 @@ static int fd_poll(struct re *re)

for (i = 0; (i < re->maxfds) && (cfds < nfds); i++) {
fhs = re->fhsl[i];

if (!fhs || !fhs->fh)
continue;

++cfds;

re_sock_t fd = fhs->fd;
if (fhs->flags & FD_READ)
FD_SET(fd, &rfds);
Expand Down

0 comments on commit 59dd559

Please sign in to comment.