From: Russell Bryant Date: Wed, 13 Jun 2007 16:56:16 +0000 (+0000) Subject: Clarify a bit of logic. This doesn't change behavior in any way, but it is X-Git-Tag: 1.4.5~19 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f56c3be8ad44386ceafb91f9742600acda1e1ce3;p=thirdparty%2Fasterisk.git 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/branches/1.4@69071 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index b37996c88f..b03ef1fbae 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -2242,7 +2242,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; }