Skip to content

Commit

Permalink
reverting and fix valgrind invalid read
Browse files Browse the repository at this point in the history
  • Loading branch information
Matisse authored and Matisse committed Jul 23, 2024
1 parent ca75863 commit def5bfd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ConnectionHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/* By: mchenava < [email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/04/30 16:11:21 by agaley #+# #+# */
/* Updated: 2024/07/23 01:19:45 by mchenava ### ########.fr */
/* Updated: 2024/07/23 10:30:42 by mchenava ### ########.fr */
/* */
/* ************************************************************************** */

Expand Down Expand Up @@ -320,8 +320,8 @@ int ConnectionHandler::processConnection(struct epoll_event& event) {

case CLOSED:
EventData* eventData = static_cast<EventData*>(event.data.ptr);
eventData->opened = false;
_handleClosedConnection();
eventData->opened = false;
return 1; // Done
}
return 0;
Expand Down

0 comments on commit def5bfd

Please sign in to comment.