mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-25 04:09:31 +03:00
MHD_bin_to_hex(): fixed wrong return value (unused currently by MHD).
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user