[Freeswitch-svn] [commit] r11190 - freeswitch/trunk/src/mod/endpoints/mod_sofia

FreeSWITCH SVN anthm at freeswitch.org
Wed Jan 14 07:28:17 PST 2009


Author: anthm
Date: Wed Jan 14 09:28:17 2009
New Revision: 11190

Log:
I assure you they're not null

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c	Wed Jan 14 09:28:17 2009
@@ -1654,6 +1654,9 @@
 		switch_goto_status(SWITCH_STATUS_FALSE, end);
 	}
 
+	switch_assert(tech_pvt->read_codec.implementation);
+	switch_assert(tech_pvt->write_codec.implementation);
+
 	tech_pvt->read_impl = *tech_pvt->read_codec.implementation;
 	tech_pvt->write_impl = *tech_pvt->write_codec.implementation;
 



More information about the Freeswitch-svn mailing list