summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-07-21 22:37:03 +0000
committerRoger Dingledine <arma@torproject.org>2004-07-21 22:37:03 +0000
commit3783d2e682b641abe6f5e15e0501bceb90a0cc74 (patch)
tree25dd9db9ae9c8fa9d9be859aaec72b686be881d7 /src
parent156cfb00fa1ec16d305b9d3aed96a9dd372ff3f6 (diff)
downloadtor-3783d2e682b641abe6f5e15e0501bceb90a0cc74.tar.gz
tor-3783d2e682b641abe6f5e15e0501bceb90a0cc74.zip
if johnny has three fenceposts, and jill takes four away...
svn:r2089
Diffstat (limited to 'src')
-rw-r--r--src/or/dirserv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index 66980b49ff..a05ed98fa7 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -473,7 +473,7 @@ list_running_servers(char **nicknames_out)
} else {
name = tor_malloc(HEX_DIGEST_LEN+2);
*name = '$';
- base16_encode(name+1, HEX_DIGEST_LEN, conn->identity_digest, DIGEST_LEN);
+ base16_encode(name+1, HEX_DIGEST_LEN+1, conn->identity_digest, DIGEST_LEN);
}
if(conn->state == OR_CONN_STATE_OPEN)