diff --git a/libs/sofia-sip/.update b/libs/sofia-sip/.update index ec04f46051..7aefc860d6 100644 --- a/libs/sofia-sip/.update +++ b/libs/sofia-sip/.update @@ -1 +1 @@ -Mon Feb 18 16:55:02 EST 2019 +Wed Jul 17 14:35:37 EDT 2019 diff --git a/libs/sofia-sip/libsofia-sip-ua/sdp/sdp.c b/libs/sofia-sip/libsofia-sip-ua/sdp/sdp.c index a4f71207c5..93c0c230ee 100644 --- a/libs/sofia-sip/libsofia-sip-ua/sdp/sdp.c +++ b/libs/sofia-sip/libsofia-sip-ua/sdp/sdp.c @@ -1497,14 +1497,14 @@ int sdp_media_cmp(sdp_media_t const *a, sdp_media_t const *b) for (ab = a->m_bandwidths, bb = b->m_bandwidths; ab || bb; ab = ab->b_next, bb = bb->b_next) - if ((rv = sdp_bandwidth_cmp(a->m_bandwidths, b->m_bandwidths))) + if ((rv = sdp_bandwidth_cmp(ab, bb))) return rv; if ((rv = sdp_key_cmp(a->m_key, b->m_key))) return rv; for (aa = a->m_attributes, ba = b->m_attributes; - aa || bb; + aa || ba; aa = aa->a_next, ba = ba->a_next) if ((rv = sdp_attribute_cmp(aa, ba))) return rv;