[asterisk-commits] mnicholson: trunk r273464 - /trunk/res/res_fax.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Jul 1 14:34:51 CDT 2010
Author: mnicholson
Date: Thu Jul 1 14:34:47 2010
New Revision: 273464
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=273464
Log:
Properly handle failures of fax->start_session()
FAX-177
Modified:
trunk/res/res_fax.c
Modified: trunk/res/res_fax.c
URL: http://svnview.digium.com/svn/asterisk/trunk/res/res_fax.c?view=diff&rev=273464&r1=273463&r2=273464
==============================================================================
--- trunk/res/res_fax.c (original)
+++ trunk/res/res_fax.c Thu Jul 1 14:34:47 2010
@@ -901,7 +901,7 @@
/* 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;
More information about the asterisk-commits
mailing list