]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
res_pjsip_multihomed: Remove change for testing fix.
authorJoshua Colp <jcolp@digium.com>
Thu, 13 Mar 2014 13:24:17 +0000 (13:24 +0000)
committerJoshua Colp <jcolp@digium.com>
Thu, 13 Mar 2014 13:24:17 +0000 (13:24 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@410510 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_pjsip_multihomed.c

index 8319fb8a056cd8059ff630e6bdb26eebbe9b9c19..e9addd9362c74fee9d96271f5aee04e494a9a7f4 100644 (file)
@@ -112,7 +112,7 @@ static pj_status_t multihomed_on_tx_message(pjsip_tx_data *tdata)
 
        /* If the message needs to be updated with new address do so */
        if (tdata->msg->type == PJSIP_REQUEST_MSG || !(cseq = pjsip_msg_find_hdr(tdata->msg, PJSIP_H_CSEQ, NULL)) ||
-               !pj_strcmp2(&cseq->method.name, "REGISTER")) {
+               pj_strcmp2(&cseq->method.name, "REGISTER")) {
                pjsip_contact_hdr *contact = pjsip_msg_find_hdr(tdata->msg, PJSIP_H_CONTACT, NULL);
                if (contact && (PJSIP_URI_SCHEME_IS_SIP(contact->uri) || PJSIP_URI_SCHEME_IS_SIPS(contact->uri))) {
                        pjsip_sip_uri *uri = pjsip_uri_get_uri(contact->uri);