MHD_bin_to_hex(): fixed wrong return value (unused currently by MHD).

This commit is contained in:
Evgeny Grin (Karlson2k)
2022-06-09 16:56:05 +03:00
parent d2ec9e9385
commit 4866181f53
+1 -1
View File
@@ -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;
}