<p>pespin has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/19279">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">use_count.h: Fix API doc example<br><br>Change-Id: Ib28ea88c8e8e9b33d70d58156d03af9a41e9e012<br>---<br>M include/osmocom/core/use_count.h<br>1 file changed, 2 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/79/19279/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/include/osmocom/core/use_count.h b/include/osmocom/core/use_count.h</span><br><span>index 6a4bf1f..a019525 100644</span><br><span>--- a/include/osmocom/core/use_count.h</span><br><span>+++ b/include/osmocom/core/use_count.h</span><br><span>@@ -130,8 +130,9 @@</span><br><span>  *     int foo_use_cb(struct osmo_use_count_entry *use_count_entry, int32_t old_use_count, const char *file, int line)</span><br><span>  *     {</span><br><span>  *             struct foo *foo = use_count_entry->use_count->talloc_object;</span><br><span style="color: hsl(0, 100%, 40%);">- *             if (osmo_use_count_total(&use_count_entry->use_count) == 0)</span><br><span style="color: hsl(120, 100%, 40%);">+ *             if (osmo_use_count_total(use_count_entry->use_count) == 0)</span><br><span>  *                     talloc_free(foo);</span><br><span style="color: hsl(120, 100%, 40%);">+ *             return 0;</span><br><span>  *     }</span><br><span>  *</span><br><span>  *     // The function name is a convenient use token:</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/19279">change 19279</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/+/19279"/><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: Ib28ea88c8e8e9b33d70d58156d03af9a41e9e012 </div>
<div style="display:none"> Gerrit-Change-Number: 19279 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>