summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2007-07-30 19:35:33 +0000
committerRussell Bryant <russell@russellbryant.com>2007-07-30 19:35:33 +0000
commit38bb9400def5443355871cb61ce15839fd9fde2b (patch)
treec294ebda29120138e02a3f0c5c8f69efb435af8d /main
parent06f618a1cae6801f76309b322a4701f408ca0381 (diff)
Improve ast_agi_fdprintf() by using the ast_str() API.
* Use a thread local ast_str for building the string that will be written out to the console for debug, and to the FD for the AGI itself, instead of allocating a buffer on the heap every time the function is called. * Use the information contained within the ast_str to determine how many bytes need to be written instead of calling strlen(). git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77791 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main')
0 files changed, 0 insertions, 0 deletions