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

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


Author: mnicholson
Date: Wed Jun 22 14:12:57 2011
New Revision: 324488

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=324488
Log:
minor tweak

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=324488&r1=324487&r2=324488
==============================================================================
--- team/irroot/t38gateway-trunk/res/res_fax.c (original)
+++ team/irroot/t38gateway-trunk/res/res_fax.c Wed Jun 22 14:12:57 2011
@@ -2327,6 +2327,7 @@
 
 	if (gateway->s) {
 		fax_session_release(gateway->s, gateway->token);
+		gateway->token = NULL;
 		gateway->s->details->caps |= ~AST_FAX_TECH_GATEWAY;
 
 		ao2_lock(faxregistry.container);
@@ -2335,7 +2336,6 @@
 
 		ao2_ref(gateway->s, -1);
 		gateway->s = NULL;
-		gateway->token = NULL;
 	}
 }
 




More information about the asterisk-commits mailing list