[svn-commits] russell: branch 1.4 r69071 - /branches/1.4/channels/chan_sip.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Wed Jun 13 09:56:16 MST 2007


Author: russell
Date: Wed Jun 13 11:56:16 2007
New Revision: 69071

URL: http://svn.digium.com/view/asterisk?view=rev&rev=69071
Log:
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.

Modified:
    branches/1.4/channels/chan_sip.c

Modified: branches/1.4/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_sip.c?view=diff&rev=69071&r1=69070&r2=69071
==============================================================================
--- branches/1.4/channels/chan_sip.c (original)
+++ branches/1.4/channels/chan_sip.c Wed Jun 13 11:56:16 2007
@@ -2242,7 +2242,7 @@
 		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;
 }



More information about the svn-commits mailing list