projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
243d870
)
Properly handle failures of fax->start_session()
author
Matthew Nicholson
<mnicholson@digium.com>
Thu, 1 Jul 2010 19:34:47 +0000
(19:34 +0000)
committer
Matthew Nicholson
<mnicholson@digium.com>
Thu, 1 Jul 2010 19:34:47 +0000
(19:34 +0000)
FAX-177
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@273464
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
res/res_fax.c
patch
|
blob
|
history
diff --git
a/res/res_fax.c
b/res/res_fax.c
index
cae9660
..
0aedd2d
100644
(file)
--- a/
res/res_fax.c
+++ b/
res/res_fax.c
@@
-901,7
+901,7
@@
static int generic_fax_exec(struct ast_channel *chan, struct ast_fax_session_det
/* handle frames for the session */
ms = 1000;
- while ((ms > -1) && (timeout > 0)) {
+ while ((res > -1) && (ms > -1) && (timeout > 0)) {
struct ast_channel *ready_chan;
int ofd, exception;