mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 16:57:00 +08:00
don't set the wr_set in select (previously it was only ignored in pselect)
This commit is contained in:
@@ -1128,7 +1128,7 @@ int main(int argc, char** argv)
|
||||
ts.tv_usec = 0;
|
||||
ts.tv_sec = 30;
|
||||
sigprocmask(SIG_UNBLOCK, &blockset, NULL);
|
||||
ret = select(n + 1, &rd_set, &wr_set, NULL, &ts);
|
||||
ret = select(n + 1, &rd_set, NULL/*&wr_set*/, NULL, &ts);
|
||||
sigprocmask(SIG_BLOCK, &blockset, NULL);
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user