From: Roger Dingledine Date: Wed, 21 Jul 2004 22:37:03 +0000 (+0000) Subject: if johnny has three fenceposts, and jill takes four away... X-Git-Tag: tor-0.0.8pre1~31 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3783d2e682b641abe6f5e15e0501bceb90a0cc74;p=thirdparty%2Ftor.git if johnny has three fenceposts, and jill takes four away... svn:r2089 --- 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)