* select.h (select_stuff::select_stuff): Make default constructor always zero
everything while constructor with int arg just zeroes next. * select.cc (select_stuff::test_and_set): Revert to using default constructor.
This commit is contained in:
@ -295,7 +295,7 @@ select_stuff::test_and_set (int i, fd_set *readfds, fd_set *writefds,
|
||||
&& ! UNIX_FD_ISSET (i, exceptfds))
|
||||
return true;
|
||||
|
||||
select_record *s = new select_record (0);
|
||||
select_record *s = new select_record;
|
||||
if (!s)
|
||||
return false;
|
||||
|
||||
|
Reference in New Issue
Block a user