mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 04:30:28 +00:00
You see nothing...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41696 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1002,7 +1002,7 @@ static int waitstream_core(struct ast_channel *c, const char *breakon,
|
||||
}
|
||||
if (ms < 0)
|
||||
ms = 1000;
|
||||
if (cmdfd > -1) {
|
||||
if (cmdfd < 0) {
|
||||
res = ast_waitfor(c, ms);
|
||||
if (res < 0) {
|
||||
ast_log(LOG_WARNING, "Select failed (%s)\n", strerror(errno));
|
||||
|
Reference in New Issue
Block a user