diff --git a/src/util/select.h b/src/util/select.h index 4bf4b87..a0168e3 100644 --- a/src/util/select.h +++ b/src/util/select.h @@ -37,6 +37,7 @@ #include #include #include +#include #include "fatal_assert.h" #include "timestamp.h" @@ -149,6 +150,7 @@ public: const #endif { + assert( FD_ISSET( fd, &all_fds ) ); return FD_ISSET( fd, &read_fds ); } @@ -157,6 +159,7 @@ public: const #endif { + assert( FD_ISSET( fd, &all_fds ) ); return FD_ISSET( fd, &error_fds ); }