- move the string join() function to utils.c since it is used in both cli.c and res_agi.c
authorRussell Bryant <russell@russellbryant.com>
Tue, 20 Dec 2005 20:20:04 +0000 (20:20 +0000)
committerRussell Bryant <russell@russellbryant.com>
Tue, 20 Dec 2005 20:20:04 +0000 (20:20 +0000)
commit0da13c21b45598a2c7191c8c06ac6efc5c2db702
tree028d8f36127b8aefd66e997f6e27e207a85f1e15
parent9398c57e6fce553b358ebc97364147e3a94af286
- move the string join() function to utils.c since it is used in both cli.c and res_agi.c
- reimplement ast_join to be of linear effieciency instead of quadratic
- remove some useless checks for "if (e)"
- reorder checks for strings starting with '_' to avoid a useless call to ast_join()
- check array bounds when parsing arguments to AGI
(issue #5868)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7556 65c4cc65-6c06-0410-ace0-fbb531ad65f3
cli.c
include/asterisk/strings.h
res/res_agi.c
utils.c