From b4d0f26d2b86dde366b1e9f0a950e4212b1648a3 Mon Sep 17 00:00:00 2001 From: Joshua Colp <jcolp@digium.com> Date: Fri, 1 Sep 2006 16:50:02 +0000 Subject: [PATCH] You see nothing... git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41696 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/file.c b/main/file.c index 6cacdc807d..101b9ac661 100644 --- a/main/file.c +++ b/main/file.c @@ -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)); -- GitLab