[PATCH 05/10] Properly reload imap message cache
- From: Jose Dapena Paz <jdapena igalia com>
- Subject: [PATCH 05/10] Properly reload imap message cache
- Date: Tue, 24 Nov 2009 18:48:09 +0100
---
.../providers/imap/camel-imap-message-cache.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-message-cache.c b/libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-message-cache.c
index 7bf6b01..9e1296a 100644
--- a/libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-message-cache.c
+++ b/libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-message-cache.c
@@ -184,10 +184,10 @@ camel_imap_message_cache_new (const char *path, CamelFolderSummary *summary,
while ((dname = g_dir_read_name (dir))) {
if (!isdigit (dname[0]))
continue;
- p = strchr (dname, '.');
+ p = strchr (dname, '_');
if (p)
uid = g_strndup (dname, p - dname);
- else if ((p = strchr (dname, '_')))
+ else if ((p = strchr (dname, '.')))
uid = g_strndup (dname, p - dname);
else {
g_warning("Cache file name Invalid\n");
--
1.6.3.3
--=-gnkDh763C8UIUYIzLd8x
Content-Disposition: attachment; filename*0=0006-More-fixes-for-bodystructure-support-fix-detecting-i.pat; filename*1=ch
Content-Type: text/x-patch; name="0006-More-fixes-for-bodystructure-support-fix-detecting-i.patch"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]