[svn-commits] tilghman: branch 1.6.2 r251678 - /branches/1.6.2/funcs/func_strings.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Mar 10 14:48:37 CST 2010


Author: tilghman
Date: Wed Mar 10 14:48:33 2010
New Revision: 251678

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=251678
Log:
LISTFILTER was doubling delimiters on output.

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

Modified:
    branches/1.6.2/funcs/func_strings.c

Modified: branches/1.6.2/funcs/func_strings.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/funcs/func_strings.c?view=diff&rev=251678&r1=251677&r2=251678
==============================================================================
--- branches/1.6.2/funcs/func_strings.c (original)
+++ branches/1.6.2/funcs/func_strings.c Wed Mar 10 14:48:33 2010
@@ -405,7 +405,7 @@
 				ast_str_append(&result, 0, "%s", delim);
 			}
 
-			ast_str_append_substr(&result, 0, begin, cur - begin + 1);
+			ast_str_append_substr(&result, 0, begin, cur - begin);
 			first = 0;
 			begin = cur + dlen;
 		}




More information about the svn-commits mailing list