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:
Mark Spencer 2004-08-27 16:17:16 +00:00
parent c7541bd672
commit 516cd1ba8d
1 changed files with 1 additions and 1 deletions

View File

@ -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)