Cleanup the net_event handler.

This commit is contained in:
Jan Vidar Krey 2009-10-08 12:36:36 +02:00
parent eb7bec585e
commit f4e82ef503

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)