aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-06-29 04:40:31 +0800
committerDan Winship <danw@src.gnome.org>2000-06-29 04:40:31 +0800
commit4d1f7683d0044eb29d05b40c829287cf4df285ae (patch)
treed46a120dd8d99ff08acc15471c6016bd906c42ea /mail
parent94f71e47c223c13c4b79814c7e6bb56e4b76cb9f (diff)
downloadgsoc2013-evolution-4d1f7683d0044eb29d05b40c829287cf4df285ae.tar
gsoc2013-evolution-4d1f7683d0044eb29d05b40c829287cf4df285ae.tar.gz
gsoc2013-evolution-4d1f7683d0044eb29d05b40c829287cf4df285ae.tar.bz2
gsoc2013-evolution-4d1f7683d0044eb29d05b40c829287cf4df285ae.tar.lz
gsoc2013-evolution-4d1f7683d0044eb29d05b40c829287cf4df285ae.tar.xz
gsoc2013-evolution-4d1f7683d0044eb29d05b40c829287cf4df285ae.tar.zst
gsoc2013-evolution-4d1f7683d0044eb29d05b40c829287cf4df285ae.zip
Add debugging messages
svn path=/trunk/; revision=3779
Diffstat (limited to 'mail')
-rw-r--r--mail/message-list.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/mail/message-list.c b/mail/message-list.c
index 3162685397..e6f3f25d7b 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -70,9 +70,13 @@ get_message_info(MessageList *message_list, gint row)
if (uid) {
info = message_list->summary_search_cache->pdata[row] =
(CamelMessageInfo *) camel_folder_summary_get_by_uid(message_list->folder, uid);
- }
+ if (!info)
+ g_warning ("get_message_info: unknown uid %s", uid);
+ } else {
+ g_warning ("get_message_info: row %d not in matches", row);
}
- }
+ } else
+ g_warning ("get_message_info: row %d out of range", row);
} else {
if (row<message_list->summary_table->len)
info = message_list->summary_table->pdata[row];