mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
fencepost
svn:r2178
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user