mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-13 08:13:22 +00:00
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:
@@ -506,7 +506,7 @@ static int modem_write(struct ast_channel *ast, struct ast_frame *frame)
|
|||||||
|
|
||||||
/* Block again */
|
/* Block again */
|
||||||
fcntl(ast->fds[0], F_SETFL, flags);
|
fcntl(ast->fds[0], F_SETFL, flags);
|
||||||
return 0;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct ast_channel *ast_modem_new(struct ast_modem_pvt *i, int state)
|
struct ast_channel *ast_modem_new(struct ast_modem_pvt *i, int state)
|
||||||
|
Reference in New Issue
Block a user