Skip to content

Commit

Permalink
optimize sfds
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers committed Jan 29, 2023
1 parent 0967226 commit a83e6a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@ static int fd_poll(struct re *re)
int nfds = re->nfds;
#ifdef HAVE_SELECT
fd_set rfds, wfds, efds;
re_sock_t sfds[DEFAULT_MAXFDS] = {0};
re_sock_t sfds[DEFAULT_MAXFDS];
#endif

DEBUG_INFO("next timer: %llu ms\n", to);
Expand Down

0 comments on commit a83e6a3

Please sign in to comment.