apply the proposed fix for bug 8602
authorLuigi Rizzo <rizzo@icir.org>
Mon, 18 Dec 2006 16:24:44 +0000 (16:24 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Mon, 18 Dec 2006 16:24:44 +0000 (16:24 +0000)
commit23be2c0bf4efc42aa0e19a739dca0122b096a4aa
tree62219bf3af0edfa44d744cb06175e5c933ea1191
parentccebf3511ce53634e1423a3bb2995a6e47a6e27d
apply the proposed fix for bug 8602
http://bugs.digium.com/view.php?id=8602
(i am not sure if there is still missing cast in
front of the alloca() call - being a macro this is
probably triggered only when actually used).

Add function ast_str_reset() to reinitialize the
string to an empty string instead of playing with
the internal fields.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48560 65c4cc65-6c06-0410-ace0-fbb531ad65f3
include/asterisk/strings.h