changeset 20493:9e2ed6cd824b

Reset the timer to 0 after removing it. It looks like this may be required here.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sat, 08 Sep 2007 01:33:25 +0000
parents f062793410b5
children 82d8797e06f3
files libpurple/protocols/msn/cmdproc.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/cmdproc.c	Sat Sep 08 01:28:00 2007 +0000
+++ b/libpurple/protocols/msn/cmdproc.c	Sat Sep 08 01:33:25 2007 +0000
@@ -258,8 +258,10 @@
 		trans = msn_history_find(cmdproc->history, cmd->trId);
 
 	if (trans != NULL)
-		if (trans->timer)
+		if (trans->timer) {
 			purple_timeout_remove(trans->timer);
+			trans->timer = 0;
+		}
 
 	if (g_ascii_isdigit(cmd->command[0]))
 	{