From: Sean E. <sea...@us...> - 2002-03-15 00:56:18
|
Update of /cvsroot/gaim/gaim/src/protocols/jabber In directory usw-pr-cvs1:/tmp/cvs-serv31872/src/protocols/jabber Modified Files: jabber.c Log Message: Some Image send fixes, and elimination of some compile warnings. There are still far too many (read: more than zero) Index: jabber.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/jabber/jabber.c,v retrieving revision 1.35 retrieving revision 1.36 diff -u -d -r1.35 -r1.36 --- jabber.c 12 Mar 2002 17:21:43 -0000 1.35 +++ jabber.c 15 Mar 2002 00:56:15 -0000 1.36 @@ -1602,7 +1602,7 @@ static void jabber_remove_buddy(struct gaim_connection *gc, char *name, char *group) { - xmlnode x, y; + xmlnode x; char *realwho; gjconn gjc = ((struct jabber_data *)gc->proto_data)->gjc; @@ -2795,40 +2795,6 @@ } z = xmlnode_insert_tag(y, "password"); xmlnode_insert_cdata(z, gjc->pass, -1); - - debug_printf("jabber: registration packet: %s\n", xmlnode2str(x)); - gjab_send(gjc, x); - xmlnode_free(x); -} - -/* - * Like gjab_reqauth(), only different - */ -static void gjab_reqregreqs(gjconn gjc) -{ - xmlnode x, y, z; - char *user; - - if (!gjc) - return; - - x = jutil_iqnew(JPACKET__GET, NS_REGISTER); - y = xmlnode_get_tag(x, "query"); - - xmlnode_put_attrib(x, "to", "jimsun.linxnet.com"); - /* - xmlnode_put_attrib(x, "from", "jse...@ji..."); - */ - /* - user = gjc->user->user; - - if (user) { - z = xmlnode_insert_tag(y, "username"); - xmlnode_insert_cdata(z, user, -1); - } - z = xmlnode_insert_tag(y, "password"); - xmlnode_insert_cdata(z, gjc->pass, -1); - */ debug_printf("jabber: registration packet: %s\n", xmlnode2str(x)); gjab_send(gjc, x); |