diff options
author | Bharath Acharya <abharath@novell.com> | 2009-01-29 11:24:32 +0800 |
---|---|---|
committer | Bharath Acharya <abharath@src.gnome.org> | 2009-01-29 11:24:32 +0800 |
commit | dd07c0a8678cc7f7e7df36b5377f2b2db30991b0 (patch) | |
tree | 8cd4fbfb6b7d86a3f984e02b389e793eaf725e59 | |
parent | 9fa4b4b9cfe21de4f24e23979fb9f51316ccb0dd (diff) | |
download | gsoc2013-evolution-dd07c0a8678cc7f7e7df36b5377f2b2db30991b0.tar.gz gsoc2013-evolution-dd07c0a8678cc7f7e7df36b5377f2b2db30991b0.tar.zst gsoc2013-evolution-dd07c0a8678cc7f7e7df36b5377f2b2db30991b0.zip |
** Fix for bug #470474 (bugzilla.novell.com)
2009-01-29 Bharath Acharya <abharath@novell.com>
** Fix for bug #470474 (bugzilla.novell.com)
* groupwise-account-setup.c (set_esource_props): a corruption.
Cleanup unused strings.
svn path=/trunk/; revision=37160
-rw-r--r-- | plugins/groupwise-account-setup/ChangeLog | 7 | ||||
-rw-r--r-- | plugins/groupwise-account-setup/groupwise-account-setup.c | 11 |
2 files changed, 7 insertions, 11 deletions
diff --git a/plugins/groupwise-account-setup/ChangeLog b/plugins/groupwise-account-setup/ChangeLog index 474e27d7ec..cde1135294 100644 --- a/plugins/groupwise-account-setup/ChangeLog +++ b/plugins/groupwise-account-setup/ChangeLog @@ -1,3 +1,10 @@ +2009-01-29 Bharath Acharya <abharath@novell.com> + + ** Fix for bug #470474 (bugzilla.novell.com) + + * groupwise-account-setup.c (set_esource_props): a corruption. Cleanup + unused strings. + 2008-11-11 Suman Manjunath <msuman@novell.com> ** Fix for bug #440646 (bugzilla.novell.com) diff --git a/plugins/groupwise-account-setup/groupwise-account-setup.c b/plugins/groupwise-account-setup/groupwise-account-setup.c index 5ca57d7c7f..fca171aab5 100644 --- a/plugins/groupwise-account-setup/groupwise-account-setup.c +++ b/plugins/groupwise-account-setup/groupwise-account-setup.c @@ -51,17 +51,9 @@ set_esource_props (const char *path, EAccount *a, GConfClient *client, const cha { ESourceList *list; GSList *groups; - char *old_relative_uri; - const char *poa_address; - CamelURL *url = camel_url_new (a->source->url, NULL); - old_relative_uri = g_strdup_printf ("%s@%s/", url->user, poa_address); list = e_source_list_new_for_gconf (client, path); groups = e_source_list_peek_groups (list); - poa_address = url->host; - - if (!poa_address || !*poa_address) - return; for ( ; groups != NULL; groups = g_slist_next (groups)) { ESourceGroup *group = E_SOURCE_GROUP (groups->data); @@ -87,9 +79,6 @@ set_esource_props (const char *path, EAccount *a, GConfClient *client, const cha e_source_list_sync (list, NULL); g_object_unref (list); - g_free (old_relative_uri); - camel_url_free (url); - } void |