<p>fixeria <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/17214">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">bitvec: fix bitvec_unhex(): do not return 1 on success<br><br>This function is supposed to return 0 on success or 1 in case of<br>error. However, it used to return 1 even in case of success. The<br>reason is that length of the input string was not taken into<br>account and sscanf() was failing on '\0'.<br><br>Let's use osmo_hexparse() and rely on its return value.<br><br>P.S. Funny that the unit test expectations were wrong too.<br><br>Change-Id: I441a22c7964bb31688071d8bcf6a282d8c0187ff<br>---<br>M src/bitvec.c<br>M tests/bitvec/bitvec_test.ok<br>2 files changed, 12 insertions(+), 15 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/14/17214/2</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/17214">change 17214</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/c/libosmocore/+/17214"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmocore </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I441a22c7964bb31688071d8bcf6a282d8c0187ff </div>
<div style="display:none"> Gerrit-Change-Number: 17214 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: fixeria <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>