[Commits] [SCM] claws branch, master, updated. 3.13.0-11-gc014711
claws at claws-mail.org
claws at claws-mail.org
Thu Oct 15 08:28:53 CEST 2015
The branch, master has been updated
via c014711110b3094a961e2afe29260733a37850a3 (commit)
from a04d186bb864e1fa0860fe48fa8084729dc3ce24 (commit)
Summary of changes:
src/plugins/gdata/cm_gdata_contacts.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
- Log -----------------------------------------------------------------
commit c014711110b3094a961e2afe29260733a37850a3
Author: Paul <paul at claws-mail.org>
Date: Thu Oct 15 07:28:47 2015 +0100
fix erroneous debug text, debug output (and style)
diff --git a/src/plugins/gdata/cm_gdata_contacts.c b/src/plugins/gdata/cm_gdata_contacts.c
index fd50898..adb8083 100644
--- a/src/plugins/gdata/cm_gdata_contacts.c
+++ b/src/plugins/gdata/cm_gdata_contacts.c
@@ -239,12 +239,12 @@ static void write_cache_to_file(void)
g_node_append(contactsnode, contactnode);
}
- /* Actual writing and cleanup */
- xml_write_tree(rootnode, pfile->fp);
- if(prefs_file_close(pfile) < 0)
- debug_print("GData plugin error: Failed to write file " GDATA_CONTACTS_FILENAME "\n");
-
- debug_print("GData plugin error: Wrote cache to file " GDATA_CONTACTS_FILENAME "\n");
+ /* Actual writing and cleanup */
+ xml_write_tree(rootnode, pfile->fp);
+ if (prefs_file_close(pfile) < 0)
+ debug_print("GData plugin error: Failed to write file " GDATA_CONTACTS_FILENAME "\n");
+ else
+ debug_print("GData plugin: Wrote cache to file " GDATA_CONTACTS_FILENAME "\n");
/* Free XML tree */
xml_free_tree(rootnode);
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list