changeset 26796:89a446de0d44

disapproval of revision '0a225b2db14919b2e455f6938d28c885d6ca74e4' This reverts a fix Stu made in a39fccd8, which looks like it fixes an issue if there was a tune status set when we login.
author Paul Aurich <paul@darkrain42.org>
date Wed, 29 Apr 2009 02:11:47 +0000
parents 6ab56b3dd836
children 5aabe95773dd
files libpurple/protocols/jabber/jabber.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jabber.c	Mon Apr 27 05:43:18 2009 +0000
+++ b/libpurple/protocols/jabber/jabber.c	Wed Apr 29 02:11:47 2009 +0000
@@ -727,7 +727,7 @@
 	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 = -1;
+	js->old_length = 0;
 	js->keepalive_timeout = -1;
 	js->certificate_CN = g_strdup(connect_server[0] ? connect_server : js->user ? js->user->domain : NULL);
 	js->sessions = NULL;