From: Anthony Minessale Date: Mon, 10 Jul 2006 17:10:40 +0000 (+0000) Subject: break 2 loops instead of 1 X-Git-Tag: v1.0-beta1~2545 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cdac90762493c7528aec4bdbc512092733874098;p=thirdparty%2Ffreeswitch.git break 2 loops instead of 1 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1813 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/endpoints/mod_exosip/mod_exosip.c b/src/mod/endpoints/mod_exosip/mod_exosip.c index c71d2e00c8..70c11fb2db 100644 --- a/src/mod/endpoints/mod_exosip/mod_exosip.c +++ b/src/mod/endpoints/mod_exosip/mod_exosip.c @@ -1545,7 +1545,7 @@ static switch_status_t parse_sdp_media(struct private_object *tech_pvt, sdp_medi *dpayload = strdup(payload); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "Found negotiated codec Payload: %s Name: %s Rate: %s\n", *dpayload, *dname, *drate); - break; + goto done; } } @@ -1553,6 +1553,7 @@ static switch_status_t parse_sdp_media(struct private_object *tech_pvt, sdp_medi attr = NULL; pos++; } + done: return status; }