Fix some code that was supposed to ensure that a buffer was terminated, but was
authorRussell Bryant <russell@russellbryant.com>
Wed, 21 Nov 2007 16:24:17 +0000 (16:24 +0000)
committerRussell Bryant <russell@russellbryant.com>
Wed, 21 Nov 2007 16:24:17 +0000 (16:24 +0000)
commit6d8d66e9e7d795a5668ddcb8539a15b4458068d2
treeb7d08f9c513f85e1f18cd420f0554ac09f809d9f
parent29ad24e37a5fe1a5123a91dbe296012c261b8a92
Fix some code that was supposed to ensure that a buffer was terminated, but was
writing to the wrong byte.  Also, remove some non-thread safe test code.

(closes issue #11317)
Reported by: IgorG
Patches:
      unistim-2.patch uploaded by IgorG (license 20)
  - additional changes by me

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89484 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_unistim.c