Epoll fixes.

This commit is contained in:
Jan Vidar Krey
2010-01-18 19:34:18 +01:00
parent 314707f499
commit 7dfa3162cb
3 changed files with 34 additions and 22 deletions

View File

@@ -69,7 +69,7 @@ void on_login_success(struct hub_info* hub, struct hub_user* u)
hub_send_motd(hub, u);
/* reset timeout */
net_con_set_timeout(u->connection, TIMEOUT_IDLE);
net_con_clear_timeout(u->connection);
}
void on_login_failure(struct hub_info* hub, struct hub_user* u, enum status_message msg)