Cleanup the net_event handler.
This commit is contained in:
parent
eb7bec585e
commit
f4e82ef503
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user