<p style="white-space: pre-wrap; word-wrap: break-word;">Looks great in general, just a few final notes.</p><p><a href="https://gerrit.osmocom.org/13711">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/13711/3/src/db.h">File src/db.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/13711/3/src/db.h@121">Patch Set #3, Line 121:</a> <code style="font-family:monospace,monospace">DB_SUBSCR_FLAG_NONE</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">I don't think we really need this one.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/13711/3/src/db.h@122">Patch Set #3, Line 122:</a> <code style="font-family:monospace,monospace">0x01</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Let's have the values in more common form for flags: (1 << 1).</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/13711/3/src/db.h@123">Patch Set #3, Line 123:</a> <code style="font-family:monospace,monospace">0x02</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">And here (1 << 2), so this is much cleaner that the new flag would be (1 << 3), and not 0x03.</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/13711/3/tests/db/db_test.c">File tests/db/db_test.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/13711/3/tests/db/db_test.c@458">Patch Set #3, Line 458:</a> <code style="font-family:monospace,monospace">DB_SUBSCR_FLAG_NONE</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">We can just use 0x00 or 0 here.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/13711">change 13711</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/13711"/><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: I1a6dd85387723dab5487c53b33d2d9ec6d05d006 </div>
<div style="display:none"> Gerrit-Change-Number: 13711 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </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: Vadim Yanitskiy <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Fri, 10 May 2019 11:29:57 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: No </div>