aboutsummaryrefslogtreecommitdiffstats
path: root/mail/folder-browser.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/folder-browser.c')
-rw-r--r--mail/folder-browser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/folder-browser.c b/mail/folder-browser.c
index 661bcb1f5d..aa0ff3144f 100644
--- a/mail/folder-browser.c
+++ b/mail/folder-browser.c
@@ -1906,7 +1906,7 @@ on_right_click (ETree *tree, gint row, ETreePath path, gint col, GdkEvent *event
fdata->mlist = g_strdup(mname);
/* Escape the mailing list name before showing it */
- mlist = alloca (strlen (mname)+2);
+ mlist = alloca ((strlen (mname) * 2) + 1);
p = mname;
o = mlist;
while ((c = *p++)) {