mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
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:
@@ -3899,8 +3899,8 @@ static int vm_play_folder_name_gr(struct ast_channel *chan, char *mbox)
|
|||||||
{
|
{
|
||||||
int cmd;
|
int cmd;
|
||||||
char *buf;
|
char *buf;
|
||||||
|
|
||||||
buf = alloca(strlen(mbox)+2);
|
buf = alloca(strlen(mbox)+2);
|
||||||
memset(buf, '\0', sizeof(char)*(sizeof(buf)));
|
|
||||||
strcpy(buf, mbox);
|
strcpy(buf, mbox);
|
||||||
strcat(buf,"s");
|
strcat(buf,"s");
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user