[evolution-data-server] CamelStoreSummary: Fix another boo boo.



commit 26598ca58992bbfddd49ddb419dacae439343c1e
Author: Matthew Barnes <mbarnes redhat com>
Date:   Sat Aug 17 08:57:38 2013 -0400

    CamelStoreSummary: Fix another boo boo.
    
    Similarly, don't throw away CamelStoreInfo flags when saving to disk.

 camel/camel-store-summary.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/camel/camel-store-summary.c b/camel/camel-store-summary.c
index 6a4be09..4d9f22a 100644
--- a/camel/camel-store-summary.c
+++ b/camel/camel-store-summary.c
@@ -216,7 +216,7 @@ store_summary_store_info_save (CamelStoreSummary *summary,
        io (printf ("Saving folder info\n"));
 
        if (camel_file_util_encode_string (out, camel_store_info_path (summary, info)) == -1 ||
-           camel_file_util_encode_uint32 (out, 0) == -1 ||
+           camel_file_util_encode_uint32 (out, info->flags) == -1 ||
            camel_file_util_encode_uint32 (out, info->unread) == -1 ||
            camel_file_util_encode_uint32 (out, info->total) == -1)
                return -1;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]