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/providers/imap/camel-imap-folder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'camel/providers') 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