projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63f5e27
)
Fixes a bug where if a stream monitor thread was not created (caused from failure...
author
Jeff Peeler
<jpeeler@digium.com>
Wed, 30 Apr 2008 16:14:43 +0000
(16:14 +0000)
committer
Jeff Peeler
<jpeeler@digium.com>
Wed, 30 Apr 2008 16:14:43 +0000
(16:14 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@114888
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_console.c
patch
|
blob
|
history
diff --git
a/channels/chan_console.c
b/channels/chan_console.c
index
4c8576d
..
23931a8
100644
(file)
--- a/
channels/chan_console.c
+++ b/
channels/chan_console.c
@@
-393,7
+393,7
@@
return_unlock:
static int stop_stream(struct console_pvt *pvt)
{
- if (!pvt->streamstate)
+ if (!pvt->streamstate || pvt->thread == AST_PTHREADT_NULL)
return 0;
pthread_cancel(pvt->thread);