fencepost

svn:r2178
This commit is contained in:
Nick Mathewson
2004-08-07 01:18:02 +00:00
parent 8491d97b9c
commit 2091dab7f4
+1 -1
View File
@@ -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;
}