]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Move static buffers to outside for loops in app_chanspy.
authorMark Michelson <mmichelson@digium.com>
Sat, 2 May 2009 10:21:00 +0000 (10:21 +0000)
committerMark Michelson <mmichelson@digium.com>
Sat, 2 May 2009 10:21:00 +0000 (10:21 +0000)
commit85a89165526e2e0afaebb7e15de52138a024cad0
tree663119d038bdfe238cf0ff060021be372a3b1a67
parentc2d8897257b432b922c92eedb372a682106b1917
Move static buffers to outside for loops in app_chanspy.

Similar to seanbright's commit 191422, this moves some static buffers
to be defined outside of for loops since it is undefined if memory
will be re-used or if the stack will grow with each iteration of the
loop.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@191628 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_chanspy.c