Fixed session timeout from triggering when session is already established.

This commit is contained in:
James Canete
2005-10-24 05:30:06 +00:00
parent b992133987
commit 78d2ffc5fb

View File

@@ -700,7 +700,7 @@ static int _handle_session(xmpp_conn_t * const conn,
char *type; char *type;
/* delete missing session handler */ /* delete missing session handler */
xmpp_timed_handler_delete(conn, _handle_missing_bind); xmpp_timed_handler_delete(conn, _handle_missing_session);
/* server has replied to the session request */ /* server has replied to the session request */
type = xmpp_stanza_get_type(stanza); type = xmpp_stanza_get_type(stanza);