This was accidentally reverted.
authorJeff Peeler <jpeeler@digium.com>
Sun, 8 Jun 2008 01:41:59 +0000 (01:41 +0000)
committerJeff Peeler <jpeeler@digium.com>
Sun, 8 Jun 2008 01:41:59 +0000 (01:41 +0000)
commit33b3d38a3cdc5dd7233c5803a863acc466f87624
tree2bb5c981a664ab44a87e3a01f4059c95fd5f8ee5
parentc1b88b3cf45525d5e99540f64767b907b9c11598
This was accidentally reverted.
Fixes a bug where if a stream monitor thread was not created (caused from failure of opening or starting the stream) pthread_cancel was called with an invalid thread ID.

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