[asterisk-commits] branch 1.2 - r7898 /branches/1.2/apps/app_voicemail.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Jan 9 12:08:07 CST 2006


Author: kpfleming
Date: Mon Jan  9 12:08:07 2006
New Revision: 7898

URL: http://svn.digium.com/view/asterisk?rev=7898&view=rev
Log:
fix breakage introduced in revision 7871

Modified:
    branches/1.2/apps/app_voicemail.c

Modified: branches/1.2/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/apps/app_voicemail.c?rev=7898&r1=7897&r2=7898&view=diff
==============================================================================
--- branches/1.2/apps/app_voicemail.c (original)
+++ branches/1.2/apps/app_voicemail.c Mon Jan  9 12:08:07 2006
@@ -3920,8 +3920,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