[asterisk-commits] tilghman: trunk r251682 - /trunk/funcs/func_strings.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Mar 10 14:54:07 CST 2010


Author: tilghman
Date: Wed Mar 10 14:54:03 2010
New Revision: 251682

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=251682
Log:
Hmmm, apparently needed to be fixed in trunk, too.

(closes issue #16900)
 Reported by: bluecrow76
 Patches: 
       asterisk-1.6.2.4-func_strings.diff uploaded by bluecrow76 (license 270)

Modified:
    trunk/funcs/func_strings.c

Modified: trunk/funcs/func_strings.c
URL: http://svnview.digium.com/svn/asterisk/trunk/funcs/func_strings.c?view=diff&rev=251682&r1=251681&r2=251682
==============================================================================
--- trunk/funcs/func_strings.c (original)
+++ trunk/funcs/func_strings.c Wed Mar 10 14:54:03 2010
@@ -552,7 +552,7 @@
 				ast_str_append(result_ptr, len, "%s", delim);
 			}
 
-			ast_str_append_substr(result_ptr, len, begin, cur - begin + 1);
+			ast_str_append_substr(result_ptr, len, begin, cur - begin);
 			first = 0;
 			begin = cur + dlen;
 		}




More information about the asterisk-commits mailing list