aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-account-editor.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-12-28 03:44:21 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-12-28 03:44:21 +0800
commit2db0cad78c8f91531897cc4fd857ecee7474f4df (patch)
tree8e1d0b61e276d171758088fd5b4d80ac1ab3717a /mail/em-account-editor.c
parent8080d58ec309459e295be770bc7763f109bdf94b (diff)
downloadgsoc2013-evolution-2db0cad78c8f91531897cc4fd857ecee7474f4df.tar
gsoc2013-evolution-2db0cad78c8f91531897cc4fd857ecee7474f4df.tar.gz
gsoc2013-evolution-2db0cad78c8f91531897cc4fd857ecee7474f4df.tar.bz2
gsoc2013-evolution-2db0cad78c8f91531897cc4fd857ecee7474f4df.tar.lz
gsoc2013-evolution-2db0cad78c8f91531897cc4fd857ecee7474f4df.tar.xz
gsoc2013-evolution-2db0cad78c8f91531897cc4fd857ecee7474f4df.tar.zst
gsoc2013-evolution-2db0cad78c8f91531897cc4fd857ecee7474f4df.zip
Replace alloca() with g_alloca().
Diffstat (limited to 'mail/em-account-editor.c')
-rw-r--r--mail/em-account-editor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/em-account-editor.c b/mail/em-account-editor.c
index 88912a4517..e3e9613e2e 100644
--- a/mail/em-account-editor.c
+++ b/mail/em-account-editor.c
@@ -3153,7 +3153,7 @@ emae_check_complete (EConfig *ec, const gchar *pageid, gpointer data)
emae->priv->management_set = 1;
tmp = e_account_get_string (account, E_ACCOUNT_ID_ADDRESS);
len = strlen (tmp);
- template = alloca (len + 14);
+ template = g_alloca (len + 14);
strcpy (template, tmp);
while (e_get_account_by_name (template))
sprintf (template + len, " (%d)", i++);