Skip to content
Snippets Groups Projects
Commit 2091dab7 authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

fencepost

svn:r2178
parent 8491d97b
No related branches found
No related tags found
No related merge requests found
......@@ -245,7 +245,7 @@ const char *hex_str(const char *from, int fromlen)
static char buf[65];
if (fromlen>(sizeof(buf)-1)/2)
fromlen = (sizeof(buf)-1)/2;
base16_encode(buf,64,from,fromlen);
base16_encode(buf,sizeof(buf),from,fromlen);
return buf;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment