From 3655f5d2480dfbbf312366732812c20f870acbd6 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Sun, 13 Aug 2000 03:25:47 +0000 Subject: (imap_get_subfolder_names_internal): Add "INBOX" to the list as g_malloc'ed memory, not a static string. svn path=/trunk/; revision=4792 --- camel/ChangeLog | 2 ++ camel/providers/imap/camel-imap-folder.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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 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); -- cgit v1.2.3