From: Nathan W. <fac...@us...> - 2003-08-27 20:34:25
|
Update of /cvsroot/gaim/gaim/src/protocols/jabber In directory sc8-pr-cvs1:/tmp/cvs-serv30704/src/protocols/jabber Modified Files: jabber.c Log Message: This will make Gaim and jabberd2 get along a little better Index: jabber.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/jabber/jabber.c,v retrieving revision 1.179 retrieving revision 1.180 diff -u -d -r1.179 -r1.180 --- jabber.c 25 Aug 2003 15:42:39 -0000 1.179 +++ jabber.c 27 Aug 2003 20:34:12 -0000 1.180 @@ -700,7 +700,8 @@ /* special case: name == stream:stream */ /* id attrib of stream is stored for digest auth */ gjc->sid = g_strdup(xmlnode_get_attrib(x, "id")); - /* STATE_EVT(JCONN_STATE_AUTH) */ + gjc->state = JCONN_STATE_ON; + STATE_EVT(JCONN_STATE_ON); xmlnode_free(x); } else { gjc->current = x; @@ -788,9 +789,6 @@ gjab_send_raw(gjc, "<?xml version='1.0'?>"); gjab_send_raw(gjc, t); xmlnode_free(x); - - gjc->state = JCONN_STATE_ON; - STATE_EVT(JCONN_STATE_ON); gc = GJ_GC(gjc); gc->inpa = gaim_input_add(gjc->fd, GAIM_INPUT_READ, jabber_callback, gc); |