From 9e0e4a3fbf5218ad2e764bd2816070a2eb94e91a Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Fri, 6 Sep 2002 21:15:34 +0000 Subject: Sync the database after upgrading mailer stuff. (imap_url_upgrade): Since 2002-09-06 Jeffrey Stedfast * 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 --- mail/ChangeLog | 3 +++ mail/upgrade-mailer.c | 2 ++ 2 files changed, 5 insertions(+) (limited to 'mail') 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 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; } -- cgit