aboutsummaryrefslogtreecommitdiffstats
path: root/mail/upgrade-mailer.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-09-10 01:54:59 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-09-10 01:54:59 +0800
commit1aba02dd7c98f34e0539d2b3279363511365c2d4 (patch)
tree8d8367ceea78a9f05186b856bcafb047131685db /mail/upgrade-mailer.c
parent34fbdf1c779d47615d961fe2d76ac243ce26a40d (diff)
downloadgsoc2013-evolution-1aba02dd7c98f34e0539d2b3279363511365c2d4.tar.gz
gsoc2013-evolution-1aba02dd7c98f34e0539d2b3279363511365c2d4.tar.zst
gsoc2013-evolution-1aba02dd7c98f34e0539d2b3279363511365c2d4.zip
Don't look for an end quote, instead look for </item> to terminate the
2002-09-09 Jeffrey Stedfast <fejj@ximian.com> * upgrade-mailer.c (shortcuts_upgrade_xml_file): Don't look for an end quote, instead look for </item> to terminate the uri. (shortcuts_upgrade_uri): Hex decode the imap folder name after we've constructed the final version of it. svn path=/trunk/; revision=18022
Diffstat (limited to 'mail/upgrade-mailer.c')
-rw-r--r--mail/upgrade-mailer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/upgrade-mailer.c b/mail/upgrade-mailer.c
index ff87eb11c5..7f62e654e5 100644
--- a/mail/upgrade-mailer.c
+++ b/mail/upgrade-mailer.c
@@ -616,7 +616,8 @@ shortcuts_upgrade_uri (GHashTable *accounts, GHashTable *imap_sources, const cha
g_free (url);
if (new) {
- name = g_strdup (new + strlen (si->base_url) + 1);
+ name = new + strlen (si->base_url) + 1;
+ name = hex_decode (name, strlen (name));
g_free (new);
return name;