[Pkg-telepathy-commits] [telepathy-idle] 02/26: Don't crash when a channel with multiple requests fails
Simon McVittie
smcv at debian.org
Thu Apr 3 17:49:41 UTC 2014
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to branch debian
in repository telepathy-idle.
commit 68f8a01b0d03ddac1cca102283c79fac907fa388
Author: Sjoerd Simons <sjoerd at luon.net>
Date: Sun May 12 11:52:49 2013 +0200
Don't crash when a channel with multiple requests fails
The iteration over the channel requests tokens accidentally used the
wrong variable, causing the same request token to be passed into tp-glib
all the time causing crashes..
---
src/idle-muc-manager.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/idle-muc-manager.c b/src/idle-muc-manager.c
index faf66e9..fdff375 100644
--- a/src/idle-muc-manager.c
+++ b/src/idle-muc-manager.c
@@ -741,7 +741,7 @@ static void _channel_join_ready_cb(IdleMUCChannel *chan, guint err, gpointer use
break;
}
- for (l = reqs; reqs != NULL; reqs = reqs->next) {
+ for (l = reqs; l != NULL; l = l->next) {
tp_channel_manager_emit_request_failed(manager, l->data, TP_ERROR, err_code, err_msg);
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-telepathy/telepathy-idle.git
More information about the Pkg-telepathy-commits
mailing list