[evolution-data-server] Use camel exception initializer



commit 95d18652cfc8323a5ee8a48e993db05e70a02fe8
Author: Chenthill Palanisamy <pchenthill novell com>
Date:   Tue Feb 9 18:13:16 2010 +0530

    Use camel exception initializer

 camel/providers/imapx/camel-imapx-server.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/camel/providers/imapx/camel-imapx-server.c b/camel/providers/imapx/camel-imapx-server.c
index c56acb6..7dc8d57 100644
--- a/camel/providers/imapx/camel-imapx-server.c
+++ b/camel/providers/imapx/camel-imapx-server.c
@@ -476,7 +476,7 @@ imapx_command_addv(CamelIMAPXCommand *ic, const gchar *fmt, va_list ap)
 	CamelDataWrapper *D;
 	CamelSasl *A;
 	gchar buffer[16];
-	CamelException ex = {0, NULL};
+	CamelException ex = CAMEL_EXCEPTION_INITIALISER;
 
 	c(printf("adding command, fmt = '%s'\n", fmt));
 
@@ -3106,7 +3106,7 @@ static gpointer
 imapx_parser_thread (gpointer d)
 {
 	CamelIMAPXServer *is = d;
-	CamelException ex = {0, NULL};
+	CamelException ex = CAMEL_EXCEPTION_INITIALISER;
 	CamelOperation *op;
 
 	/*
@@ -3358,7 +3358,7 @@ camel_imapx_server_connect(CamelIMAPXServer *is, gint state)
 	CAMEL_SERVICE_REC_LOCK (is->store, connect_lock);
 	if (state) {
 		pthread_t id;
-		CamelException ex = {0, NULL};
+		CamelException ex = CAMEL_EXCEPTION_INITIALISER;
 
 		if (is->state == IMAPX_AUTHENTICATED || is->state == IMAPX_SELECTED) {
 			ret = TRUE;



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