mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 04:30:28 +00:00
Properly handle failures of fax->start_session()
FAX-177 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@273464 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -901,7 +901,7 @@ static int generic_fax_exec(struct ast_channel *chan, struct ast_fax_session_det
|
|||||||
|
|
||||||
/* handle frames for the session */
|
/* handle frames for the session */
|
||||||
ms = 1000;
|
ms = 1000;
|
||||||
while ((ms > -1) && (timeout > 0)) {
|
while ((res > -1) && (ms > -1) && (timeout > 0)) {
|
||||||
struct ast_channel *ready_chan;
|
struct ast_channel *ready_chan;
|
||||||
int ofd, exception;
|
int ofd, exception;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user