Cleanup the net_event handler.

This commit is contained in:
Jan Vidar Krey
2009-11-18 17:40:28 +01:00
parent eb7bec585e
commit f4e82ef503
+1 -1
View File
@@ -216,7 +216,7 @@ void net_event(struct net_connection* con, int event, void *arg)
}
}
if (!flag_close && event & NET_EVENT_WRITE)
if (event & NET_EVENT_WRITE)
{
flag_close = handle_net_write(user);
if (flag_close)