Fix the new send text manager command. There is no way this could have worked.
authorRussell Bryant <russell@russellbryant.com>
Tue, 31 Oct 2006 15:22:28 +0000 (15:22 +0000)
committerRussell Bryant <russell@russellbryant.com>
Tue, 31 Oct 2006 15:22:28 +0000 (15:22 +0000)
commit59dbf47c91944d2ed645b707c60f92faba9cf231
tree055dca8c8628afe6861df2befb62359bc694b25d
parent602cab138b4fd017b137878deed6ccf2ffaa1a31
Fix the new send text manager command.  There is no way this could have worked.

- Check the channel name string length to be zero, not non-zero
- Check the message string length to be zero, not non-zero
- unlock the channel *after* calling sendtext

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46661 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/manager.c