<p style="white-space: pre-wrap; word-wrap: break-word;">Looks good. I think we should have consistency about the success and error space and maybe return a boolean directly. WDUT?</p><p><a href="https://gerrit.osmocom.org/13843">View Change</a></p><p>1 comment:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/13843/3/openbsc/src/osmo-bsc_nat/bsc_nat.c">File openbsc/src/osmo-bsc_nat/bsc_nat.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/13843/3/openbsc/src/osmo-bsc_nat/bsc_nat.c@703">Patch Set #3, Line 703:</a> <code style="font-family:monospace,monospace"><</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">What about != 0 like in many other cases (e.g. the write queue success tests)? This would match the bool success = ... == 0 behavior further down. Or return a boolean directly?</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/13843">change 13843</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.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.osmocom.org/13843"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: openbsc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: I66c44890952339f15131081e2f629a2824b6d3ba </div>
<div style="display:none"> Gerrit-Change-Number: 13843 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: Pau Espin Pedrol <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: Holger Freyther <holger@freyther.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>
<div style="display:none"> Gerrit-Comment-Date: Wed, 08 May 2019 04:10:04 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: No </div>