diff libpurple/protocols/msn/cmdproc.c @ 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 32c366eeeb99
children 723b5a2f91ce
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]))
 	{