[Freeswitch-svn] [commit] r4244 - freeswitch/trunk/src/mod/endpoints/mod_iax

Freeswitch SVN mikej at freeswitch.org
Tue Feb 13 16:54:16 EST 2007


Author: mikej
Date: Tue Feb 13 16:54:16 2007
New Revision: 4244

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_iax/mod_iax.c

Log:
missing return;

Modified: freeswitch/trunk/src/mod/endpoints/mod_iax/mod_iax.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_iax/mod_iax.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_iax/mod_iax.c	Tue Feb 13 16:54:16 2007
@@ -834,7 +834,7 @@
 		} else {
 			switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Doh! no caller profile\n");
 			switch_core_session_destroy(new_session);
-			SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER;
+			return SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER;
 		}
 
 		if ((tech_pvt->iax_session = iax_session_new()) == 0) {



More information about the Freeswitch-svn mailing list