[asterisk-commits] file: branch 1.4 r104665 - /branches/1.4/main/file.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Feb 27 11:41:40 CST 2008


Author: file
Date: Wed Feb 27 11:41:40 2008
New Revision: 104665

URL: http://svn.digium.com/view/asterisk?view=rev&rev=104665
Log:
Bump up the buffer by 2.

Modified:
    branches/1.4/main/file.c

Modified: branches/1.4/main/file.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/file.c?view=diff&rev=104665&r1=104664&r2=104665
==============================================================================
--- branches/1.4/main/file.c (original)
+++ branches/1.4/main/file.c Wed Feb 27 11:41:40 2008
@@ -566,7 +566,7 @@
 	}
 	if (preflang == NULL)
 		preflang = "";
-	buflen = strlen(preflang) + strlen(filename) + 2;
+	buflen = strlen(preflang) + strlen(filename) + 4;
 	buf = alloca(buflen);
 	if (buf == NULL)
 		return NULL;




More information about the asterisk-commits mailing list