File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -154,15 +154,15 @@ namespace Event{
154154 std::set<int > toErase;
155155 for (auto & S : recvSockets) {
156156 if (S.first < 1024 && fcntl (S.first , F_GETFD) < 0 ) {
157- FAIL_MSG (" File descriptor %d (returning %zu) became invalid; removing from list" , S.first , S.second .retVal );
157+ WARN_MSG (" File descriptor %d (returning %zu) became invalid; removing from list" , S.first , S.second .retVal );
158158 toErase.insert (S.first );
159159 }
160160 }
161161 for (auto & i : toErase) { recvSockets.erase (i); }
162162 toErase.clear ();
163163 for (auto & S : sendSockets) {
164164 if (S.first < 1024 && fcntl (S.first , F_GETFD) < 0 ) {
165- FAIL_MSG (" File descriptor %d (returning %zu) became invalid; removing from list" , S.first , S.second .retVal );
165+ WARN_MSG (" File descriptor %d (returning %zu) became invalid; removing from list" , S.first , S.second .retVal );
166166 toErase.insert (S.first );
167167 }
168168 }
You can’t perform that action at this time.
0 commit comments