]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
break 2 loops instead of 1
authorAnthony Minessale <anthony.minessale@gmail.com>
Mon, 10 Jul 2006 17:10:40 +0000 (17:10 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Mon, 10 Jul 2006 17:10:40 +0000 (17:10 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1813 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_exosip/mod_exosip.c

index c71d2e00c8828e467f7ea151cbd0abbbc466d03c..70c11fb2db576aaa1bf8c01dc9fef605d222bb53 100644 (file)
@@ -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;
 }