# HG changeset patch # User Nathan Walp # Date 1062016452 0 # Node ID dbc3bdcc8861b712a4b24132e58566c826afa1d0 # Parent fe9c3b58afafc050d517d235284cc0500c8a05f9 [gaim-migrate @ 7163] This will make Gaim and jabberd2 get along a little better committer: Tailor Script diff -r fe9c3b58afaf -r dbc3bdcc8861 src/protocols/jabber/jabber.c --- a/src/protocols/jabber/jabber.c Wed Aug 27 06:15:14 2003 +0000 +++ b/src/protocols/jabber/jabber.c Wed Aug 27 20:34:12 2003 +0000 @@ -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; @@ -789,9 +790,6 @@ 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); }