<p>fixeria <strong>submitted</strong> this change.</p><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/25666">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  keith: Looks good to me, but someone else must approve
  pespin: Looks good to me, approved
  Jenkins Builder: Verified

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">utils: remove misleading comments for osmo_hexdump[_nospc]_c()<br><br>The buffer is allocated dynamically on heap, so there is no such<br>limitation of 4096 bytes / 1365 characters.<br><br>Change-Id: I960dd6a53123fd4209ef6e61dcd0d22e4005e397<br>---<br>M src/utils.c<br>1 file changed, 0 insertions(+), 6 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/utils.c b/src/utils.c</span><br><span>index 2b21dcc..c180595 100644</span><br><span>--- a/src/utils.c</span><br><span>+++ b/src/utils.c</span><br><span>@@ -407,9 +407,6 @@</span><br><span>  *</span><br><span>  * This function will print a sequence of bytes as hexadecimal numbers,</span><br><span>  * adding one space character between each byte (e.g. "1a ef d9")</span><br><span style="color: hsl(0, 100%, 40%);">- *</span><br><span style="color: hsl(0, 100%, 40%);">- * The maximum size of the output buffer is 4096 bytes, i.e. the maximum</span><br><span style="color: hsl(0, 100%, 40%);">- * number of input bytes that can be printed in one call is 1365!</span><br><span>  */</span><br><span> char *osmo_hexdump_c(const void *ctx, const unsigned char *buf, int len)</span><br><span> {</span><br><span>@@ -446,9 +443,6 @@</span><br><span>  *</span><br><span>  * This function will print a sequence of bytes as hexadecimal numbers,</span><br><span>  * without any space character between each byte (e.g. "1aefd9")</span><br><span style="color: hsl(0, 100%, 40%);">- *</span><br><span style="color: hsl(0, 100%, 40%);">- * The maximum size of the output buffer is 4096 bytes, i.e. the maximum</span><br><span style="color: hsl(0, 100%, 40%);">- * number of input bytes that can be printed in one call is 2048!</span><br><span>  */</span><br><span> char *osmo_hexdump_nospc_c(const void *ctx, const unsigned char *buf, int len)</span><br><span> {</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/25666">change 25666</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/+/25666"/><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: I960dd6a53123fd4209ef6e61dcd0d22e4005e397 </div>
<div style="display:none"> Gerrit-Change-Number: 25666 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: keith <keith@rhizomatica.org> </div>
<div style="display:none"> Gerrit-Reviewer: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>