mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-15 17:27:02 +00:00
Finalize ast_channel opaquification
Review: https://reviewboard.asterisk.org/r/1786/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@358907 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -563,7 +563,7 @@ static struct ast_frame *phone_read(struct ast_channel *ast)
|
||||
/* Try to read some data... */
|
||||
CHECK_BLOCKING(ast);
|
||||
res = read(p->fd, p->buf, PHONE_MAX_BUF);
|
||||
ast_clear_flag(ast, AST_FLAG_BLOCKING);
|
||||
ast_clear_flag(ast_channel_flags(ast), AST_FLAG_BLOCKING);
|
||||
if (res < 0) {
|
||||
#if 0
|
||||
if (errno == EAGAIN) {
|
||||
|
Reference in New Issue
Block a user