aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-09-07 05:15:34 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-09-07 05:15:34 +0800
commit9e0e4a3fbf5218ad2e764bd2816070a2eb94e91a (patch)
tree553bd51ee39add414d446a0a6c2acfdfba8262c8 /mail
parentdd1021ad84005e7827e4d5f047b131d7dc460851 (diff)
downloadgsoc2013-evolution-9e0e4a3fbf5218ad2e764bd2816070a2eb94e91a.tar
gsoc2013-evolution-9e0e4a3fbf5218ad2e764bd2816070a2eb94e91a.tar.gz
gsoc2013-evolution-9e0e4a3fbf5218ad2e764bd2816070a2eb94e91a.tar.bz2
gsoc2013-evolution-9e0e4a3fbf5218ad2e764bd2816070a2eb94e91a.tar.lz
gsoc2013-evolution-9e0e4a3fbf5218ad2e764bd2816070a2eb94e91a.tar.xz
gsoc2013-evolution-9e0e4a3fbf5218ad2e764bd2816070a2eb94e91a.tar.zst
gsoc2013-evolution-9e0e4a3fbf5218ad2e764bd2816070a2eb94e91a.zip
Sync the database after upgrading mailer stuff. (imap_url_upgrade): Since
2002-09-06 Jeffrey Stedfast <fejj@ximian.com> * upgrade-mailer.c (upgrade): Sync the database after upgrading mailer stuff. (imap_url_upgrade): Since we need 'p' if we fail to find the folder, don't g_free it until later. (hex_encode): Don't forget to increment inptr after hex encoding a character. (exchange_url_upgrade): Apprently exchange uri's are rebelious and do not want to be hex encoded like every other url, so hex decode the folder names here before concatenating them onto the base url. svn path=/trunk/; revision=18009
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog3
-rw-r--r--mail/upgrade-mailer.c2
2 files changed, 5 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 4b74644cc7..0f598dbd22 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -6,6 +6,9 @@
folder, don't g_free it until later.
(hex_encode): Don't forget to increment inptr after hex encoding a
character.
+ (exchange_url_upgrade): Apprently exchange uri's are rebelious and
+ do not want to be hex encoded like every other url, so hex decode
+ the folder names here before concatenating them onto the base url.
2002-09-05 Jeffrey Stedfast <fejj@ximian.com>
diff --git a/mail/upgrade-mailer.c b/mail/upgrade-mailer.c
index 67d3500cd5..9ce20522dc 100644
--- a/mail/upgrade-mailer.c
+++ b/mail/upgrade-mailer.c
@@ -373,8 +373,10 @@ exchange_url_upgrade (const char *uri)
folder++;
}
+ folder = hex_decode (folder, strlen (folder));
url = g_strdup_printf ("%s/personal/%s", base_url, folder);
g_free (base_url);
+ g_free (folder);
return url;
}