aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/mhd_str.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/mhd_str.c')
-rw-r--r--src/microhttpd/mhd_str.c2
1 files changed, 1 insertions, 1 deletions
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,
1383 hex[i * 2 + 1] = (char) ((j < 10) ? (j + '0') : (j - 10 + 'a')); 1383 hex[i * 2 + 1] = (char) ((j < 10) ? (j + '0') : (j - 10 + 'a'));
1384 } 1384 }
1385 hex[i * 2] = 0; 1385 hex[i * 2] = 0;
1386 return i; 1386 return i * 2;
1387} 1387}
1388 1388
1389 1389