<p><a href="https://gerrit.osmocom.org/12202">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/12202/1/src/db_hlr.c">File src/db_hlr.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/12202/1/src/db_hlr.c@430">Patch Set #1, Line 430:</a> <code style="font-family:monospace,monospace">      if (last_lu_seen_str && last_lu_seen_str[0] != '\0') {</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">Move it to the start of the function.</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Done in next patch set.</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/12202/1/src/hlr_vty_subscr.c">File src/hlr_vty_subscr.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/12202/1/src/hlr_vty_subscr.c@39">Patch Set #1, Line 39:</a> <code style="font-family:monospace,monospace">get_datestr(const time_t *t, char *datebuf)</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">'const time_t *' to clearly indicate it's an input?</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Yes, it is better with const. Thanks.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/12202/1/src/hlr_vty_subscr.c@44">Patch Set #1, Line 44:</a> <code style="font-family:monospace,monospace">       p = strchr(s, '\n');</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">Reading in the man page that it adds \n at the end -> lol</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Yes the ctime_r interface is quite odd.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/12202">change 12202</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/12202"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-hlr </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: Ie180c434f02ffec0d4b2f651a73258a8126b2e1a </div>
<div style="display:none"> Gerrit-Change-Number: 12202 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Stefan Sperling <stsp@stsp.name> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>
<div style="display:none"> Gerrit-Reviewer: Pau Espin Pedrol <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Stefan Sperling <stsp@stsp.name> </div>
<div style="display:none"> Gerrit-CC: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Comment-Date: Mon, 10 Dec 2018 13:18:53 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: No </div>