[asterisk-commits] trunk - r7897 /trunk/apps/app_voicemail.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Mon Jan 9 12:03:19 CST 2006
Author: kpfleming
Date: Mon Jan 9 12:03:18 2006
New Revision: 7897
URL: http://svn.digium.com/view/asterisk?rev=7897&view=rev
Log:
fix breakage introduced in revision 7863
Modified:
trunk/apps/app_voicemail.c
Modified: trunk/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_voicemail.c?rev=7897&r1=7896&r2=7897&view=diff
==============================================================================
--- trunk/apps/app_voicemail.c (original)
+++ trunk/apps/app_voicemail.c Mon Jan 9 12:03:18 2006
@@ -3899,8 +3899,8 @@
{
int cmd;
char *buf;
+
buf = alloca(strlen(mbox)+2);
- memset(buf, '\0', sizeof(char)*(sizeof(buf)));
strcpy(buf, mbox);
strcat(buf,"s");
More information about the asterisk-commits
mailing list