summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.co.uk>2011-04-29 19:16:59 -0400
committerNicolas Dufresne <nicolas.dufresne@collabora.co.uk>2011-04-29 19:16:59 -0400
commitd733a671db441dc6ced875a860f9ba355c694680 (patch)
treec7c0f5d230790fa728a604023e96ceecf4b6c5f5
parentef7630df9f8335067b3800514ad0b1b26687a094 (diff)
Fix missing debug trace for first pending message
-rw-r--r--telepathy-logger/log-store-sqlite.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/telepathy-logger/log-store-sqlite.c b/telepathy-logger/log-store-sqlite.c
index 600d469..f288d4f 100644
--- a/telepathy-logger/log-store-sqlite.c
+++ b/telepathy-logger/log-store-sqlite.c
@@ -784,6 +784,8 @@ _tpl_log_store_sqlite_remove_pending_messages (TplLogStore *self,
g_string_append_printf (query, "channel='%s' AND id IN (%u",
get_channel_name (channel), GPOINTER_TO_UINT (pending_ids->data));
+ DEBUG (" - pending_id: %u", GPOINTER_TO_UINT (pending_ids->data));
+
for (it = g_list_next (pending_ids); it != NULL; it = g_list_next (it))
{
DEBUG (" - pending_id: %u", GPOINTER_TO_UINT (it->data));