[evolution-data-server/gnome-2-32] Bug #631290 - Crash in vee_folder_synchronize_sync
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/gnome-2-32] Bug #631290 - Crash in vee_folder_synchronize_sync
- Date: Wed, 20 Oct 2010 12:27:16 +0000 (UTC)
commit c5ba10f092364dc28a89a83236158549f58ed960
Author: Milan Crha <mcrha redhat com>
Date: Wed Oct 20 14:26:46 2010 +0200
Bug #631290 - Crash in vee_folder_synchronize_sync
camel/camel-vee-folder.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/camel/camel-vee-folder.c b/camel/camel-vee-folder.c
index e89318a..e36bb41 100644
--- a/camel/camel-vee-folder.c
+++ b/camel/camel-vee-folder.c
@@ -1022,7 +1022,6 @@ vee_folder_sync (CamelFolder *folder,
CamelVeeFolder *vf = (CamelVeeFolder *)folder;
CamelVeeFolderPrivate *p = CAMEL_VEE_FOLDER_GET_PRIVATE (vf);
GList *node;
- GError *local_error = NULL;
if (((CamelVeeSummary *)folder->summary)->fake_visible_count)
folder->summary->visible_count = ((CamelVeeSummary *)folder->summary)->fake_visible_count;
@@ -1032,10 +1031,11 @@ vee_folder_sync (CamelFolder *folder,
node = p->folders;
while (node) {
+ GError *local_error = NULL;
CamelFolder *f = node->data;
if (!camel_folder_sync (f, expunge, &local_error)) {
- if (strncmp (local_error->message, "no such table", 13) != 0) {
+ if (local_error && strncmp (local_error->message, "no such table", 13) != 0 && error && !*error) {
const gchar *desc;
desc = camel_folder_get_description (f);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]