Merged revisions 69071 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Wed, 13 Jun 2007 16:59:42 +0000 (16:59 +0000)
committerRussell Bryant <russell@russellbryant.com>
Wed, 13 Jun 2007 16:59:42 +0000 (16:59 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r69071 | russell | 2007-06-13 11:56:16 -0500 (Wed, 13 Jun 2007) | 3 lines

Clarify a bit of logic.  This doesn't change behavior in any way, but it is
helpful when following the logic to debug problems like 9235.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69072 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index a012c45..56b321e 100644 (file)
@@ -2419,7 +2419,7 @@ static int send_request(struct sip_pvt *p, struct sip_request *req, enum xmittyp
                append_history(p, reliable ? "TxReqRel" : "TxReq", "%s / %s - %s", tmp.data, get_header(&tmp, "CSeq"), sip_methods[tmp.method].text);
        }
        res = (reliable) ?
-               __sip_reliable_xmit(p, seqno, 0, req->data, req->len, (reliable > 1), req->method) :
+               __sip_reliable_xmit(p, seqno, 0, req->data, req->len, (reliable == XMIT_CRITICAL), req->method) :
                __sip_xmit(p, req->data, req->len);
        return res;
 }