Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
20492:f062793410b5 | 20493:9e2ed6cd824b |
---|---|
256 | 256 |
257 if (cmd->trId) | 257 if (cmd->trId) |
258 trans = msn_history_find(cmdproc->history, cmd->trId); | 258 trans = msn_history_find(cmdproc->history, cmd->trId); |
259 | 259 |
260 if (trans != NULL) | 260 if (trans != NULL) |
261 if (trans->timer) | 261 if (trans->timer) { |
262 purple_timeout_remove(trans->timer); | 262 purple_timeout_remove(trans->timer); |
263 trans->timer = 0; | |
264 } | |
263 | 265 |
264 if (g_ascii_isdigit(cmd->command[0])) | 266 if (g_ascii_isdigit(cmd->command[0])) |
265 { | 267 { |
266 if (trans != NULL) | 268 if (trans != NULL) |
267 { | 269 { |