diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-01-09 18:03:18 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-01-09 18:03:18 +0000 |
commit | 7a2f93abe76cb1e41080a9945037ff3cb6f2473c (patch) | |
tree | aeb4ad3de680a543df604ce299340a48ebe6e75b /apps | |
parent | 7d2c871f1da65e691009ca79b79d219b8b3b57f4 (diff) |
fix breakage introduced in revision 7863
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7897 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_voicemail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 3fe641931..e12df3af7 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -3899,8 +3899,8 @@ static int vm_play_folder_name_gr(struct ast_channel *chan, char *mbox) { int cmd; char *buf; + buf = alloca(strlen(mbox)+2); - memset(buf, '\0', sizeof(char)*(sizeof(buf))); strcpy(buf, mbox); strcat(buf,"s"); |