diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-01 16:50:02 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-01 16:50:02 +0000 |
commit | a99e74477a13d36c2eae35ae1fd80caa21313613 (patch) | |
tree | ce5433b149654ce854dd684811502720b668fa04 /main | |
parent | 709b82f1b412573b626df48606ac89a9fdfaff2d (diff) |
You see nothing...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41696 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r-- | main/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/file.c b/main/file.c index 6cacdc807..101b9ac66 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)); |