diff libpurple/protocols/mxit/login.c @ 31944:7c3b4002f46e

* fixed crash caused by entering a wrong password (tx queue management)
author pieter.loubser@mxit.com
date Fri, 25 Mar 2011 08:33:12 +0000
parents 02b510d2d014
children c80ac2d937b7
line wrap: on
line diff
--- a/libpurple/protocols/mxit/login.c	Wed Mar 23 14:28:07 2011 +0000
+++ b/libpurple/protocols/mxit/login.c	Fri Mar 25 08:33:12 2011 +0000
@@ -141,9 +141,9 @@
 	}
 
 	/* This timer might already exist if we're registering a new account */
-	if ( session->q_timer == 0 ) {
+	if ( session->q_slow_timer_id == 0 ) {
 		/* start the tx queue manager timer */
-		session->q_timer = purple_timeout_add_seconds( 2, mxit_manage_queue_slow, session );
+		session->q_slow_timer_id = purple_timeout_add_seconds( 2, mxit_manage_queue_slow, session );
 	}
 }