<p><a href="https://gerrit.osmocom.org/9211">View Change</a></p><p>4 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/9211/1/src/libmsc/subscr_conn.c">File src/libmsc/subscr_conn.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/9211/1/src/libmsc/subscr_conn.c@207">Patch Set #1, Line 207:</a> <code style="font-family:monospace,monospace">     /* Stop location update expiry for this subscriber. */</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">the comment states what's easily deducted from the line below. […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Next patch contains has a better comment.</p><p style="white-space: pre-wrap; word-wrap: break-word;">We want to prevent LU expiry from interfering with subscribers with active connections.</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/9211/1/src/libvlr/vlr.c">File src/libvlr/vlr.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/9211/1/src/libvlr/vlr.c@465">Patch Set #1, Line 465:</a> <code style="font-family:monospace,monospace">vlr_subscr_enable_expire_lu(struct vlr_subscr *vsub)</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">we don't generally break lines ahead of the function name</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Indeed. Fixed in next patch set.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/9211/1/src/libvlr/vlr.c@475">Patch Set #1, Line 475:</a> <code style="font-family:monospace,monospace">     if (osmo_gettimeofday(&now, NULL) == 0) {</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">I think we had the discussion about gettimeofday already (think of time adjustments due to ntpdate,  […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">I was using gettimeofday only because the msc_vlr tests didn't support fake time with clock_gettime() yet.</p><p style="white-space: pre-wrap; word-wrap: break-word;">Fixed in next patch set.<br>Adding support for this to the test suite was pretty straightforward.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/9211/1/src/libvlr/vlr.c@481">Patch Set #1, Line 481:</a> <code style="font-family:monospace,monospace">            vsub->expire_lu = GSM_SUBSCRIBER_NO_EXPIRATION; /* XXX */</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">what does the XXX mean here?</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">This subscriber will have LU expiry disabled.</p><p style="white-space: pre-wrap; word-wrap: break-word;">Better comment in next patch set.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/9211">change 9211</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/9211"/><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: Iebdee8b12d22acfcfb265ee41e71cfc8d9eb3ba9 </div>
<div style="display:none"> Gerrit-Change-Number: 9211 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Stefan Sperling <ssperling@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: Stefan Sperling <ssperling@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Thu, 17 May 2018 11:01:29 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: No </div>