<p>neels has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/18476">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">api doc: clarify 'returns' of gsm48_mi_to_string()<br><br>Change-Id: I81646ff8284061a60c208bd8f9233f66c3e410f8<br>---<br>M src/gsm/gsm48.c<br>1 file changed, 4 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/76/18476/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/gsm/gsm48.c b/src/gsm/gsm48.c</span><br><span>index 17b0829..43b10b7 100644</span><br><span>--- a/src/gsm/gsm48.c</span><br><span>+++ b/src/gsm/gsm48.c</span><br><span>@@ -737,10 +737,12 @@</span><br><span>  *  \param[in] str_len Length of \a string in bytes</span><br><span>  *  \param[in] mi Mobile Identity to be stringified</span><br><span>  *  \param[in] mi_len Length of \a mi in bytes</span><br><span style="color: hsl(0, 100%, 40%);">- *  \returns WARNING: the return value of this function is not well implemented.</span><br><span style="color: hsl(120, 100%, 40%);">+ *  \returns Return <= 0 on error, > 0 on success.</span><br><span style="color: hsl(120, 100%, 40%);">+ *           WARNING: the return value of this function is not well implemented.</span><br><span>  *           Depending on the MI type and amount of output buffer, this may return</span><br><span>  *           the nr of written bytes, or the written strlen(), or the snprintf()</span><br><span style="color: hsl(0, 100%, 40%);">- *           style strlen()-if-the-buffer-were-large-enough. */</span><br><span style="color: hsl(120, 100%, 40%);">+ *           style strlen()-if-the-buffer-were-large-enough.</span><br><span style="color: hsl(120, 100%, 40%);">+ */</span><br><span> int gsm48_mi_to_string(char *string, int str_len, const uint8_t *mi, int mi_len)</span><br><span> {</span><br><span>         int rc;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/18476">change 18476</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/+/18476"/><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: I81646ff8284061a60c208bd8f9233f66c3e410f8 </div>
<div style="display:none"> Gerrit-Change-Number: 18476 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>