mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 00:37:00 +08:00
removed unused parameter of select()
This commit is contained in:
@@ -640,7 +640,7 @@ void sec_mod_server(void *main_pool, struct cfg_st *config, const char *socket_f
|
||||
ret = pselect(n + 1, &rd_set, NULL, NULL, NULL, &emptyset);
|
||||
#else
|
||||
sigprocmask(SIG_UNBLOCK, &blockset, NULL);
|
||||
ret = select(n + 1, &rd_set, &wr_set, NULL, NULL);
|
||||
ret = select(n + 1, &rd_set, NULL, NULL, NULL);
|
||||
sigprocmask(SIG_BLOCK, &blockset, NULL);
|
||||
#endif
|
||||
if (ret == -1 && errno == EINTR)
|
||||
|
||||
Reference in New Issue
Block a user