[asterisk-commits] file: trunk r104687 - in /trunk: ./ main/file.c

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


Author: file
Date: Wed Feb 27 11:45:55 2008
New Revision: 104687

URL: http://svn.digium.com/view/asterisk?view=rev&rev=104687
Log:
Merged revisions 104665 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r104665 | file | 2008-02-27 13:41:40 -0400 (Wed, 27 Feb 2008) | 2 lines

Bump up the buffer by 2.

........

Modified:
    trunk/   (props changed)
    trunk/main/file.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/main/file.c
URL: http://svn.digium.com/view/asterisk/trunk/main/file.c?view=diff&rev=104687&r1=104686&r2=104687
==============================================================================
--- trunk/main/file.c (original)
+++ trunk/main/file.c Wed Feb 27 11:45:55 2008
@@ -546,7 +546,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