aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-filter-driver.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-10-23 02:17:06 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-10-23 02:17:06 +0800
commit08af37f5686c80bad8b3ec88ab3f130d0827f977 (patch)
tree0bdb2f2ee39c503399cb05d9b0026dcdec14ab11 /camel/camel-filter-driver.c
parentb6ca9198e820a5d0ca35bf497b957bd199f03c82 (diff)
downloadgsoc2013-evolution-08af37f5686c80bad8b3ec88ab3f130d0827f977.tar
gsoc2013-evolution-08af37f5686c80bad8b3ec88ab3f130d0827f977.tar.gz
gsoc2013-evolution-08af37f5686c80bad8b3ec88ab3f130d0827f977.tar.bz2
gsoc2013-evolution-08af37f5686c80bad8b3ec88ab3f130d0827f977.tar.lz
gsoc2013-evolution-08af37f5686c80bad8b3ec88ab3f130d0827f977.tar.xz
gsoc2013-evolution-08af37f5686c80bad8b3ec88ab3f130d0827f977.tar.zst
gsoc2013-evolution-08af37f5686c80bad8b3ec88ab3f130d0827f977.zip
Canonicalise the source_uri to not have a path. Fixes bug #32268.
2002-10-18 Jeffrey Stedfast <fejj@ximian.com> * 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 <fejj@ximian.com> 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
Diffstat (limited to 'camel/camel-filter-driver.c')
-rw-r--r--camel/camel-filter-driver.c13
1 files changed, 0 insertions, 13 deletions
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);