replace ast_build_string() with ast_str_*().
authorLuigi Rizzo <rizzo@icir.org>
Sun, 17 Dec 2006 22:57:46 +0000 (22:57 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Sun, 17 Dec 2006 22:57:46 +0000 (22:57 +0000)
commit7c5f06ddcdf3279793d9baf9ec0d925fc5df3e7e
tree7f38549446b07e27751ae5c5fafb45277cd01dfe
parent18e5017634891e021a39627857e634642829f16a
replace ast_build_string() with ast_str_*().

Unless i am very mistaken, function_realtime_read() was
broken in that it would always return an empty string
(because ast_build_string() advanced the pointer to the
end of the string, and there was no reference to the
initial value.

This commit should fix this problem.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48551 65c4cc65-6c06-0410-ace0-fbb531ad65f3
funcs/func_realtime.c