aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2021-10-03 03:11:17 +0600
committerfixeria <vyanitskiy@sysmocom.de>2021-10-04 12:37:51 +0000
commit6dce2cbc1e53e9f25b1fa9201cb812949f540096 (patch)
treedf2ad3e0b99d78c6173e112cfffb077c2966abe1 /src
parent34907fe6e14965fccd9f2eec3e857eac78e2bb17 (diff)
utils: remove misleading comments for osmo_hexdump[_nospc]_c()
The buffer is allocated dynamically on heap, so there is no such limitation of 4096 bytes / 1365 characters. Change-Id: I960dd6a53123fd4209ef6e61dcd0d22e4005e397
Diffstat (limited to 'src')
-rw-r--r--src/utils.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/utils.c b/src/utils.c
index 2b21dccd..c180595a 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -407,9 +407,6 @@ char *osmo_hexdump(const unsigned char *buf, int len)
*
* This function will print a sequence of bytes as hexadecimal numbers,
* adding one space character between each byte (e.g. "1a ef d9")
- *
- * The maximum size of the output buffer is 4096 bytes, i.e. the maximum
- * number of input bytes that can be printed in one call is 1365!
*/
char *osmo_hexdump_c(const void *ctx, const unsigned char *buf, int len)
{
@@ -446,9 +443,6 @@ char *osmo_hexdump_nospc(const unsigned char *buf, int len)
*
* This function will print a sequence of bytes as hexadecimal numbers,
* without any space character between each byte (e.g. "1aefd9")
- *
- * The maximum size of the output buffer is 4096 bytes, i.e. the maximum
- * number of input bytes that can be printed in one call is 2048!
*/
char *osmo_hexdump_nospc_c(const void *ctx, const unsigned char *buf, int len)
{