fix breakage introduced in revision 7863

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7897 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2006-01-09 18:03:18 +00:00
parent 8e344385a2
commit 10862cd151

View File

@@ -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");