summaryrefslogtreecommitdiff
path: root/telepathy-logger/text-channel.c
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.co.uk>2011-03-30 12:08:35 -0400
committerNicolas Dufresne <nicolas.dufresne@collabora.co.uk>2011-03-30 13:01:57 -0400
commit884c52dad5d5fb30a450b013b83aed306ed49164 (patch)
treefe914c8286d75f792a4c0e6f01e09ad54019e5ed /telepathy-logger/text-channel.c
parent3895af7b6df288a0aa0417d28dc80a3af4ab2519 (diff)
downloadtelepathy-logger-884c52dad5d5fb30a450b013b83aed306ed49164.tar.gz
Fix infinit loop in pending message cache logic
Diffstat (limited to 'telepathy-logger/text-channel.c')
-rw-r--r--telepathy-logger/text-channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/telepathy-logger/text-channel.c b/telepathy-logger/text-channel.c
index 919c8f6..c721358 100644
--- a/telepathy-logger/text-channel.c
+++ b/telepathy-logger/text-channel.c
@@ -632,7 +632,7 @@ pendingproc_store_pending_messages (TplActionChain *ctx,
to_remove = g_list_prepend (to_remove, GUINT_TO_POINTER (cached->id));
cached_it = g_list_next (cached_it);
}
- else if (cached->id < pending_id)
+ else
{
/* The pending message has not been logged */
to_log = g_list_prepend (to_log, pending);