aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@src.gnome.org>2000-07-15 07:38:09 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-07-15 07:38:09 +0800
commit92187c937ff9dc500e6e5016d90d40dd5ca6982a (patch)
tree81b77bfe02e50124174a55edaf3e82b6e5264400
parentda95cb001269e87eb4830227db6fa362909e712f (diff)
downloadgsoc2013-evolution-92187c937ff9dc500e6e5016d90d40dd5ca6982a.tar
gsoc2013-evolution-92187c937ff9dc500e6e5016d90d40dd5ca6982a.tar.gz
gsoc2013-evolution-92187c937ff9dc500e6e5016d90d40dd5ca6982a.tar.bz2
gsoc2013-evolution-92187c937ff9dc500e6e5016d90d40dd5ca6982a.tar.lz
gsoc2013-evolution-92187c937ff9dc500e6e5016d90d40dd5ca6982a.tar.xz
gsoc2013-evolution-92187c937ff9dc500e6e5016d90d40dd5ca6982a.tar.zst
gsoc2013-evolution-92187c937ff9dc500e6e5016d90d40dd5ca6982a.zip
Oops, minor fix to make any dir_sep work.
svn path=/trunk/; revision=4171
-rw-r--r--camel/providers/imap/camel-imap-folder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c
index f52134585b..6fce61717f 100644
--- a/camel/providers/imap/camel-imap-folder.c
+++ b/camel/providers/imap/camel-imap-folder.c
@@ -772,14 +772,14 @@ imap_get_subfolder_names (CamelFolder *folder, CamelException *ex)
/* chop out the folder prefix */
if (*folder_path && !strncmp (folder, folder_path, strlen (folder_path))) {
- f = folder + strlen (folder_path) + 1;
+ f = folder + strlen (folder_path) + strlen (sep);
memmove (folder, f, strlen (f) + 1);
}
d(fprintf (stderr, "adding folder: %s\n", folder));
g_ptr_array_add (listing, folder);
- g_free (sep); /* TODO: decide if we really need dir_sep */
+ g_free (sep);
if (*ptr == '\n')
ptr++;