<p><a href="https://gerrit.osmocom.org/11992">View Change</a></p><p>3 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/11992/7/include/osmocom/msc/gsm_data.h">File include/osmocom/msc/gsm_data.h:</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/11992/7/include/osmocom/msc/gsm_data.h@188">Patch Set #7, Line 188:</a> <code style="font-family:monospace,monospace">        int ncss_guard_timeout;</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">Why do you use int in here?</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Same as mncc_guard_timeout. Integer is expected by libosmocore:</p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">  void osmo_timer_schedule(struct osmo_timer_list *timer, int seconds, int microseconds);</pre><p style="white-space: pre-wrap; word-wrap: break-word;">We can change it in a separate change. Not critical.</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/11992/7/src/libmsc/gsm_09_11.c">File src/libmsc/gsm_09_11.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/11992/7/src/libmsc/gsm_09_11.c@477">Patch Set #7, Line 477:</a> <code style="font-family:monospace,monospace">     if (net->ncss_guard_timeout > 0) {</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">Seems like we always check ncss_guard_timeout > 0</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Because it's optional. What's wrong with that?</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/11992/7/src/libmsc/msc_vty.c">File src/libmsc/msc_vty.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/11992/7/src/libmsc/msc_vty.c@382">Patch Set #7, Line 382:</a> <code style="font-family:monospace,monospace">      "guard timer value (sec.), or 0 to disable\n")</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">So ncss_guard_timeout is always positive and fit into uint8_t.</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Please see my comment above.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/11992">change 11992</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/11992"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-msc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: Icf4d87c45e90324764073e8230e0fb9cb96dd9cb </div>
<div style="display:none"> Gerrit-Change-Number: 11992 </div>
<div style="display:none"> Gerrit-PatchSet: 7 </div>
<div style="display:none"> Gerrit-Owner: Vadim Yanitskiy <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>
<div style="display:none"> Gerrit-Reviewer: Max <msuraev@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Vadim Yanitskiy <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Fri, 14 Dec 2018 13:34:46 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: No </div>