pidgin: 0a225b2d: Initialize js->old_length to the value u...
darkrain42 at pidgin.im
darkrain42 at pidgin.im
Tue Apr 28 17:21:26 EDT 2009
-----------------------------------------------------------------
Revision: 0a225b2db14919b2e455f6938d28c885d6ca74e4
Ancestor: 7281ad5ba8e68debd285e06dafebd991e980f3da
Author: darkrain42 at pidgin.im
Date: 2009-04-27T05:43:18
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/0a225b2db14919b2e455f6938d28c885d6ca74e4
Modified files:
libpurple/protocols/jabber/jabber.c
ChangeLog:
Initialize js->old_length to the value used as a default in presence.c.
In noticeable terms, stop publishing an empty tune pubsub event at login.
-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/jabber.c 5acfb284ca50afa9ad293d9d320b9574593f9d61
+++ libpurple/protocols/jabber/jabber.c ce0db3d65de4acfef09519b367b048ce26123bf9
@@ -727,7 +727,7 @@ jabber_login(PurpleAccount *account)
js->user = jabber_id_new(purple_account_get_username(account));
js->next_id = g_random_int();
js->write_buffer = purple_circ_buffer_new(512);
- js->old_length = 0;
+ js->old_length = -1;
js->keepalive_timeout = -1;
js->certificate_CN = g_strdup(connect_server[0] ? connect_server : js->user ? js->user->domain : NULL);
js->sessions = NULL;
More information about the Commits
mailing list