From: Nathan W. <fac...@us...> - 2003-10-31 07:13:55
|
Update of /cvsroot/gaim/gaim/src/protocols/jabber In directory sc8-pr-cvs1:/tmp/cvs-serv19602/src/protocols/jabber Modified Files: iq.c Log Message: fix my stupidity that leaked memory and caused jabber:iq:last requests to be ignored Index: iq.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/jabber/iq.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -p -r1.6 -r1.7 --- iq.c 31 Oct 2003 02:43:58 -0000 1.6 +++ iq.c 31 Oct 2003 07:13:52 -0000 1.7 @@ -153,6 +153,8 @@ static void jabber_iq_handle_last(Jabber idle_time = g_strdup_printf("%ld", js->idle ? time(NULL) - js->idle : 0); xmlnode_set_attrib(query, "seconds", idle_time); g_free(idle_time); + + jabber_iq_send(iq); } static void jabber_iq_handle_time(JabberStream *js, xmlnode *packet) |