diff options
author | Jeffrey Stedfast <fejj@novell.com> | 2004-11-02 03:58:38 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-11-02 03:58:38 +0800 |
commit | c611fef68632d0a5f17b01458d15db41e7f2605c (patch) | |
tree | 6e066d030dc244f21fa2c4bd654374fde0e6e39a /camel/providers/imap4/camel-imap4-store.c | |
parent | 588322d706050ca1403fee983b7787f333594fac (diff) | |
download | gsoc2013-evolution-c611fef68632d0a5f17b01458d15db41e7f2605c.tar gsoc2013-evolution-c611fef68632d0a5f17b01458d15db41e7f2605c.tar.gz gsoc2013-evolution-c611fef68632d0a5f17b01458d15db41e7f2605c.tar.bz2 gsoc2013-evolution-c611fef68632d0a5f17b01458d15db41e7f2605c.tar.lz gsoc2013-evolution-c611fef68632d0a5f17b01458d15db41e7f2605c.tar.xz gsoc2013-evolution-c611fef68632d0a5f17b01458d15db41e7f2605c.tar.zst gsoc2013-evolution-c611fef68632d0a5f17b01458d15db41e7f2605c.zip |
Remove expunged messages from the cache.
2004-11-01 Jeffrey Stedfast <fejj@novell.com>
* providers/imap4/camel-imap4-summary.c
(camel_imap4_summary_expunge): Remove expunged messages from the
cache.
(camel_imap4_summary_set_uidvalidity): Clear the cache if the
UIDVALIDITY has changed.
* providers/imap4/camel-imap4-folder.c (imap4_get_message): If the
message exists in the cache, use that rather than fetching it from
the server and cache messages fetched from the server for later
use.
(camel_imap4_folder_finalize): Unref the cache if non-NULL.
(camel_imap4_folder_new): Create the CamelDataCache.
svn path=/trunk/; revision=27784
Diffstat (limited to 'camel/providers/imap4/camel-imap4-store.c')
-rw-r--r-- | camel/providers/imap4/camel-imap4-store.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/camel/providers/imap4/camel-imap4-store.c b/camel/providers/imap4/camel-imap4-store.c index ba86ac7dee..6d0bf79b64 100644 --- a/camel/providers/imap4/camel-imap4-store.c +++ b/camel/providers/imap4/camel-imap4-store.c @@ -1165,10 +1165,7 @@ imap4_get_folder_info (CamelStore *store, const char *top, guint32 flags, CamelE CAMEL_SERVICE_LOCK (store, connect_lock); if (!camel_session_is_online (session) || engine->state == CAMEL_IMAP4_ENGINE_DISCONNECTED) { - fprintf (stderr, "****************************************************\n"); - fprintf (stderr, "*** Getting folder info in disconnected state... ***\n"); fi = camel_imap4_store_summary_get_folder_info (((CamelIMAP4Store *) store)->summary, top, flags); - fprintf (stderr, "****************************************************\n"); if (fi == NULL && camel_session_is_online (session)) { /* folder info hasn't yet been cached and the store hasn't been * connected yet, but the network is available so we can connect |