[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 02/06: MHD_bin_to_hex(): fixed wrong return value (unuse
From: |
gnunet |
Subject: |
[libmicrohttpd] 02/06: MHD_bin_to_hex(): fixed wrong return value (unused currently by MHD). |
Date: |
Thu, 09 Jun 2022 15:56:17 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 4866181f5338637220995cd573573787e39d78ec
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Thu Jun 9 11:31:54 2022 +0300
MHD_bin_to_hex(): fixed wrong return value (unused currently by MHD).
---
src/microhttpd/mhd_str.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/microhttpd/mhd_str.c b/src/microhttpd/mhd_str.c
index d3d8c594..014e71a3 100644
--- a/src/microhttpd/mhd_str.c
+++ b/src/microhttpd/mhd_str.c
@@ -1383,7 +1383,7 @@ MHD_bin_to_hex (const void *bin,
hex[i * 2 + 1] = (char) ((j < 10) ? (j + '0') : (j - 10 + 'a'));
}
hex[i * 2] = 0;
- return i;
+ return i * 2;
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd] branch master updated (3eb2fb6d -> eecdde25), gnunet, 2022/06/09
- [libmicrohttpd] 02/06: MHD_bin_to_hex(): fixed wrong return value (unused currently by MHD).,
gnunet <=
- [libmicrohttpd] 01/06: mhd_str.h: fixed typo in doxy, gnunet, 2022/06/09
- [libmicrohttpd] 04/06: test_str_base64: added test for base64 decoding, gnunet, 2022/06/09
- [libmicrohttpd] 05/06: Basic Auth: switched to the internal Base64 decoding implementation, gnunet, 2022/06/09
- [libmicrohttpd] 03/06: Implemented base64 decoding with thorough checks for the input data validity, gnunet, 2022/06/09
- [libmicrohttpd] 06/06: Removed Public Domain base64 decoding files, gnunet, 2022/06/09