diff options
author | Richard Mudgett <rmudgett@digium.com> | 2017-07-31 14:20:02 -0500 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2017-08-03 16:22:15 -0500 |
commit | 5655cded78960716e05702b1d27e5e84ce560f2d (patch) | |
tree | f13cf1974984d92705fbeb1d9da610f4f8e42078 | |
parent | 2be8d91c0f5802a1f9c87b35f8f419e0db1b22d8 (diff) |
res_pjsip_registrar.c: Remove unnecessary CMP_STOP.
Most uses of CMP_STOP are superfluous and are only respected when
OBJ_MULTIPLE is used to search the container.
Change-Id: I20571a202ec0aa1098bb2749eeba18de7ca110b8
-rw-r--r-- | res/res_pjsip_registrar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_pjsip_registrar.c b/res/res_pjsip_registrar.c index 2db753889..a4ce54769 100644 --- a/res/res_pjsip_registrar.c +++ b/res/res_pjsip_registrar.c @@ -123,7 +123,7 @@ static int registrar_find_contact(void *obj, void *arg, int flags) const struct registrar_contact_details *details = arg; pjsip_uri *contact_uri = pjsip_parse_uri(details->pool, (char*)contact->uri, strlen(contact->uri), 0); - return (pjsip_uri_cmp(PJSIP_URI_IN_CONTACT_HDR, details->uri, contact_uri) == PJ_SUCCESS) ? CMP_MATCH | CMP_STOP : 0; + return (pjsip_uri_cmp(PJSIP_URI_IN_CONTACT_HDR, details->uri, contact_uri) == PJ_SUCCESS) ? CMP_MATCH : 0; } /*! \brief Internal function which validates provided Contact headers to confirm that they are acceptable, and returns number of contacts */ |