From 08af37f5686c80bad8b3ec88ab3f130d0827f977 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Tue, 22 Oct 2002 18:17:06 +0000 Subject: Canonicalise the source_uri to not have a path. Fixes bug #32268. 2002-10-18 Jeffrey Stedfast * camel-filter-driver.c (camel_filter_driver_filter_folder): Canonicalise the source_uri to not have a path. Fixes bug #32268. 2002-10-17 Jeffrey Stedfast Possible fix for bug #32270 * providers/pop3/camel-pop3-store.c (try_sasl): If we get an I/O error, we should not be setting the CANT_AUTH exception but should instead be setting the SYSTEM exception. Also check for EINTR which signifies a USER_CANCEL exception. (pop3_try_authenticate): If the auth mechanism isn't supported, don't set the CANT_AUTH exception since then we will loop and try again with the same data which will just cause an infinite loop. (pop3_connect): Simplified a bit. svn path=/trunk/; revision=18412 --- camel/camel-filter-driver.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'camel/camel-filter-driver.c') diff --git a/camel/camel-filter-driver.c b/camel/camel-filter-driver.c index 7b229d5633..c9e71a9008 100644 --- a/camel/camel-filter-driver.c +++ b/camel/camel-filter-driver.c @@ -1036,7 +1036,6 @@ camel_filter_driver_filter_folder (CamelFilterDriver *driver, CamelFolder *folde gboolean freeuids = FALSE; CamelMessageInfo *info; char *source_url, *service_url; - const char *folder_name; int status = 0; CamelURL *url; int i; @@ -1045,18 +1044,6 @@ camel_filter_driver_filter_folder (CamelFilterDriver *driver, CamelFolder *folde url = camel_url_new (service_url, NULL); g_free (service_url); - folder_name = camel_folder_get_full_name (folder); - - if (folder_name && *folder_name != '/') { - char *path; - - path = g_strdup_printf ("/%s", folder_name); - camel_url_set_path (url, path); - g_free (path); - } else { - camel_url_set_path (url, folder_name); - } - source_url = camel_url_to_string (url, CAMEL_URL_HIDE_ALL); camel_url_free (url); -- cgit v1.2.3