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

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jun 22 08:57:11 CDT 2011


Author: mnicholson
Date: Wed Jun 22 08:57:04 2011
New Revision: 324470

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=324470
Log:
renamed gateway_destroy function to gateway_cleanup

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

Modified: team/irroot/t38gateway-trunk/res/res_fax_spandsp.c
URL: http://svnview.digium.com/svn/asterisk/team/irroot/t38gateway-trunk/res/res_fax_spandsp.c?view=diff&rev=324470&r1=324469&r2=324470
==============================================================================
--- team/irroot/t38gateway-trunk/res/res_fax_spandsp.c (original)
+++ team/irroot/t38gateway-trunk/res/res_fax_spandsp.c Wed Jun 22 08:57:04 2011
@@ -77,7 +77,7 @@
 static int spandsp_fax_switch_to_t38(struct ast_fax_session *s);
 static int spandsp_fax_gateway_start(struct ast_fax_session *s);
 static int spandsp_fax_gateway_process(struct ast_fax_session *s, const struct ast_frame *f);
-static void spandsp_fax_gateway_destroy(struct ast_fax_session *s);
+static void spandsp_fax_gateway_cleanup(struct ast_fax_session *s);
 
 static char *spandsp_fax_cli_show_capabilities(int fd);
 static char *spandsp_fax_cli_show_session(struct ast_fax_session *s, int fd);
@@ -518,7 +518,7 @@
 	struct spandsp_pvt *p = s->tech_pvt;
 
 	if (s->details->caps & AST_FAX_TECH_GATEWAY) {
-		spandsp_fax_gateway_destroy(s);
+		spandsp_fax_gateway_cleanup(s);
 	} else {
 		session_destroy(p);
 	}
@@ -770,7 +770,7 @@
 
 /*! \brief gather data and clean up after gateway ends
  * \param s fax session*/
-static void spandsp_fax_gateway_destroy(struct ast_fax_session *s)
+static void spandsp_fax_gateway_cleanup(struct ast_fax_session *s)
 {
 	struct spandsp_pvt *p = s->tech_pvt;
 	t38_stats_t t38_stats;




More information about the asterisk-commits mailing list