<p><a href="https://gerrit.osmocom.org/12266">View Change</a></p><p>2 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/12266/1/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/12266/1/src/libmsc/msc_vty.c@821">Patch Set #1, Line 821:</a> <code style="font-family:monospace,monospace">                                                     argv[1]);</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">If this taints the count than what about all other calls to get_vsub_by_argv()?</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">The other code paths don't print the use count on vty_out().<br>This is only about what use count the user sees.<br>Especially if 'show subscriber cache' and 'show subscriber msisdn 123' show different use counts, it makes you think something is broken.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/12266/1/src/libmsc/msc_vty.c@830">Patch Set #1, Line 830:</a> <code style="font-family:monospace,monospace">   * and since it existed before we called _get() on it above. */</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">Are you referring to get_vsub_by_argv()? Better use function name - it's more likely to persist than […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">obviously vlr_subscr_put(), but you're right</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/12266">change 12266</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/12266"/><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: Id02b57b7ed299b010b9f8b9e809548eb1e6aa699 </div>
<div style="display:none"> Gerrit-Change-Number: 12266 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>
<div style="display:none"> Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-CC: Max <msuraev@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Mon, 17 Dec 2018 13:25:21 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: No </div>