[evolution-ews] Don't remove OAB file after processing
- From: David Woodhouse <dwmw2 src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews] Don't remove OAB file after processing
- Date: Fri, 17 May 2013 13:55:00 +0000 (UTC)
commit f5afb2d2b6c119c475800a898fa23db2d47f59be
Author: David Woodhouse <David Woodhouse intel com>
Date: Fri May 17 13:03:21 2013 +0100
Don't remove OAB file after processing
First step towards using incremental updates: don't delete the current one
src/addressbook/e-book-backend-ews.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/src/addressbook/e-book-backend-ews.c b/src/addressbook/e-book-backend-ews.c
index 1d57e8a..a7bdf64 100644
--- a/src/addressbook/e-book-backend-ews.c
+++ b/src/addressbook/e-book-backend-ews.c
@@ -2424,6 +2424,13 @@ ebews_start_gal_sync (gpointer data)
goto exit;
e_book_backend_sqlitedb_set_key_value (priv->summary, priv->folder_id, "etag", etag?:"",
NULL);
+ if (e_book_backend_sqlitedb_set_key_value (priv->summary, priv->folder_id,
+ "oal-filename", uncompressed_filename,
+ NULL)) {
+ /* Don't let it get deleted */
+ g_free(uncompressed_filename);
+ uncompressed_filename = NULL;
+ }
seq = g_strdup_printf ("%"G_GUINT32_FORMAT, full->seq);
ret = e_book_backend_sqlitedb_set_key_value (priv->summary, priv->folder_id, "seq", seq,
&error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]