<p>Richard Mudgett <strong>posted comments</strong> on this change.</p><p><a href="https://gerrit.asterisk.org/6269">View Change</a></p><p>Patch set 1:</p><p>(1 comment)</p><ul style="list-style: none; padding-left: 20px;"><li><p><a href="https://gerrit.asterisk.org/#/c/6269/1/channels/chan_pjsip.c">File channels/chan_pjsip.c:</a></p><ul style="list-style: none; padding-left: 20px;"><li><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/#/c/6269/1/channels/chan_pjsip.c@1494">Patch Set #1, Line 1494:</a> <code style="font-family:monospace,monospace">      } else if (300 <= rdata->msg_info.msg->line.status.code) {</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">I would prefer the literal operand be on the right side of the expression, </blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">It's more of a personal preference either way.  I prefer it this way so it is a little more visual (as on a number line).</p><p style="white-space: pre-wrap; word-wrap: break-word;">It's easier to see that x is desired to be within a range here:<br>if (100 < x && x < 200)</p><p style="white-space: pre-wrap; word-wrap: break-word;">And you can see that x needs to be outside the range here:<br>if (x < 100 && 200 < x)</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.asterisk.org/6269">change 6269</a>. To unsubscribe, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/6269"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 15 </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: I680db0997343256add1478714f5bf5b5569aee17 </div>
<div style="display:none"> Gerrit-Change-Number: 6269 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Richard Mudgett <rmudgett@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>
<div style="display:none"> Gerrit-Reviewer: Richard Mudgett <rmudgett@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Sean Bright <sean.bright@gmail.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Tue, 22 Aug 2017 18:13:41 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>