aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/ChangeLog2
-rw-r--r--camel/providers/imap/camel-imap-folder.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 1c22cffd82..b0d76ac490 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -3,6 +3,8 @@
* providers/imap/camel-imap-folder.c (imap_get_summary_internal):
Don't assume the FETCH results will come back in the order they
were requested.
+ (imap_get_subfolder_names_internal): Add "INBOX" to the list as
+ g_malloc'ed memory, not a static string.
2000-08-12 Jeffrey Stedfast <fejj@helixcode.com>
diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c
index 94a3bd0cac..a836ecafcb 100644
--- a/camel/providers/imap/camel-imap-folder.c
+++ b/camel/providers/imap/camel-imap-folder.c
@@ -815,7 +815,7 @@ imap_get_subfolder_names_internal (CamelFolder *folder, CamelException *ex)
}
if (!strcmp (folder->name, namespace) && !found_inbox) {
- g_ptr_array_add (listing, "INBOX");
+ g_ptr_array_add (listing, g_strdup ("INBOX"));
}
g_free (result);