From 055a0563947f95a468a0bbb9f073900926e2b2cc Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Tue, 13 Feb 2007 21:54:16 +0000 Subject: [PATCH] missing return; git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4244 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_iax/mod_iax.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_iax/mod_iax.c b/src/mod/endpoints/mod_iax/mod_iax.c index 163a8058e1..6870ff2d96 100644 --- a/src/mod/endpoints/mod_iax/mod_iax.c +++ b/src/mod/endpoints/mod_iax/mod_iax.c @@ -834,7 +834,7 @@ static switch_call_cause_t channel_outgoing_channel(switch_core_session_t *sessi } 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) {