commit 8d8ccb4b32810fec690ccb99c879c361de8c26db
parent 440a56cbdf25cb4c7bb463095a94307d0f67bdd1
Author: Evgeny Grin (Karlson2k) <k2k@drgrin.dev>
Date: Sat, 6 Sep 2025 14:25:19 +0200
Fixed unused function mhd_strx_to_uint32_n()
The internal function is unused currently, but it may break MHD
functionality if it will be used later.
Reported by OSTIF.
https://bugs.gnunet.org/view.php?id=10326
Diffstat:
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git a/src/mhd2/mhd_str.c b/src/mhd2/mhd_str.c
@@ -1543,8 +1543,6 @@ mhd_strx_to_uint32_n (const char *restrict str,
if (res < (unsigned int) digit)
return 0;
- res *= 16;
- res += (unsigned int) digit;
i++;
}