evolution-data-server r9605 - trunk/camel/providers/groupwise
- From: mcrha svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution-data-server r9605 - trunk/camel/providers/groupwise
- Date: Thu, 25 Sep 2008 04:33:43 +0000 (UTC)
Author: mcrha
Date: Thu Sep 25 04:33:43 2008
New Revision: 9605
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=9605&view=rev
Log:
2008-09-25 Milan Crha <mcrha redhat com>
** Part of fix for bug #337479
* camel-groupwise-store.c: (groupwise_auth_loop):
Do not use uninitialized variables.
Modified:
trunk/camel/providers/groupwise/ChangeLog
trunk/camel/providers/groupwise/camel-groupwise-store.c
Modified: trunk/camel/providers/groupwise/camel-groupwise-store.c
==============================================================================
--- trunk/camel/providers/groupwise/camel-groupwise-store.c (original)
+++ trunk/camel/providers/groupwise/camel-groupwise-store.c Thu Sep 25 04:33:43 2008
@@ -180,7 +180,7 @@
CamelGroupwiseStorePrivate *priv = groupwise_store->priv;
gboolean authenticated = FALSE;
char *uri;
- EGwConnectionErrors errors;
+ EGwConnectionErrors errors = {E_GW_CONNECTION_STATUS_INVALID_OBJECT, NULL};
if (priv->use_ssl && !g_str_equal (priv->use_ssl, "never"))
uri = g_strconcat ("https://", priv->server_name, ":", priv->port, "/soap", NULL);
@@ -222,7 +222,7 @@
service->url->passwd = NULL;
camel_exception_clear (ex);
} else {
- camel_exception_set (ex, CAMEL_EXCEPTION_SERVICE_UNAVAILABLE, g_strdup (errors.description));
+ camel_exception_set (ex, CAMEL_EXCEPTION_SERVICE_UNAVAILABLE, errors.description ? errors.description : _("You must be working online to complete this operation"));
return FALSE;
}
} else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]