Be sure errors on wite are passed back up (bug #2311)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3666 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
c7541bd672
commit
516cd1ba8d
|
@ -506,7 +506,7 @@ static int modem_write(struct ast_channel *ast, struct ast_frame *frame)
|
|||
|
||||
/* Block again */
|
||||
fcntl(ast->fds[0], F_SETFL, flags);
|
||||
return 0;
|
||||
return res;
|
||||
}
|
||||
|
||||
struct ast_channel *ast_modem_new(struct ast_modem_pvt *i, int state)
|
||||
|
|
Loading…
Reference in New Issue