[asterisk-commits] mnicholson: branch irroot/t38gateway-trunk r324546 - /team/irroot/t38gateway-...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jun 22 14:31:33 CDT 2011


Author: mnicholson
Date: Wed Jun 22 14:31:28 2011
New Revision: 324546

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=324546
Log:
fix last commit

Modified:
    team/irroot/t38gateway-trunk/res/res_fax.c

Modified: team/irroot/t38gateway-trunk/res/res_fax.c
URL: http://svnview.digium.com/svn/asterisk/team/irroot/t38gateway-trunk/res/res_fax.c?view=diff&rev=324546&r1=324545&r2=324546
==============================================================================
--- team/irroot/t38gateway-trunk/res/res_fax.c (original)
+++ team/irroot/t38gateway-trunk/res/res_fax.c Wed Jun 22 14:31:28 2011
@@ -2657,7 +2657,7 @@
 static void fax_gateway_framehook_destroy(void *data) {
 	struct fax_gateway *gateway = data;
 
-	if (gateway->s && gateway->s->status != AST_FAX_STATE_INACTIVE && gateway->s->status != AST_FAX_STATE_RESERVED) {
+	if (gateway->s && gateway->s->state != AST_FAX_STATE_INACTIVE && gateway->s->state != AST_FAX_STATE_RESERVED) {
 		if (gateway->s->tech->cancel_session) {
 			gateway->s->tech->cancel_session(gateway->s);
 		}




More information about the asterisk-commits mailing list