aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-08-13 11:25:47 +0800
committerDan Winship <danw@src.gnome.org>2000-08-13 11:25:47 +0800
commit3655f5d2480dfbbf312366732812c20f870acbd6 (patch)
tree14fe7da86c2978179ee5eafd287bd6cac094ed29 /camel/providers/imap
parent52d4488d7dcc477ce6fa89d5c548ee2fddcef1b3 (diff)
downloadgsoc2013-evolution-3655f5d2480dfbbf312366732812c20f870acbd6.tar
gsoc2013-evolution-3655f5d2480dfbbf312366732812c20f870acbd6.tar.gz
gsoc2013-evolution-3655f5d2480dfbbf312366732812c20f870acbd6.tar.bz2
gsoc2013-evolution-3655f5d2480dfbbf312366732812c20f870acbd6.tar.lz
gsoc2013-evolution-3655f5d2480dfbbf312366732812c20f870acbd6.tar.xz
gsoc2013-evolution-3655f5d2480dfbbf312366732812c20f870acbd6.tar.zst
gsoc2013-evolution-3655f5d2480dfbbf312366732812c20f870acbd6.zip
(imap_get_subfolder_names_internal): Add "INBOX" to the list as
g_malloc'ed memory, not a static string. svn path=/trunk/; revision=4792
Diffstat (limited to 'camel/providers/imap')
-rw-r--r--camel/providers/imap/camel-imap-folder.c2
1 files changed, 1 insertions, 1 deletions
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);