[evolution-data-server/meego-eds] Silent errors when we don't need them really.



commit a814022fa0aa920d932b8f0f8972759d3a09c0cf
Author: Srinivasa Ragavan <sragavan gnome org>
Date:   Wed Jul 13 12:47:37 2011 -0700

    Silent errors when we don't need them really.

 camel/camel-folder-search.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/camel/camel-folder-search.c b/camel/camel-folder-search.c
index 4007074..d250686 100644
--- a/camel/camel-folder-search.c
+++ b/camel/camel-folder-search.c
@@ -522,7 +522,8 @@ camel_folder_search_count (CamelFolderSearch *search,
 				/* Suppress no such table */
 				g_clear_error (&local_error);
 			}
-			g_propagate_error (error, local_error);
+			if (error)
+				g_propagate_error (error, local_error);
 		}
 		g_free (tmp);
 	}



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