diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-08-07 01:18:02 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-08-07 01:18:02 +0000 |
commit | 2091dab7f4617dbf2d4fdbf07c0f36dcaf7c50dc (patch) | |
tree | 10cbddcd3f7299ba3e3e53c43850ae556aaa5940 /src | |
parent | 8491d97b9ce8d4894a86f57a6d61c451c5cd4e8d (diff) | |
download | tor-2091dab7f4617dbf2d4fdbf07c0f36dcaf7c50dc.tar.gz tor-2091dab7f4617dbf2d4fdbf07c0f36dcaf7c50dc.zip |
fencepost
svn:r2178
Diffstat (limited to 'src')
-rw-r--r-- | src/common/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util.c b/src/common/util.c index 717285babe..395e624ff1 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -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; } |