From 3783d2e682b641abe6f5e15e0501bceb90a0cc74 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Wed, 21 Jul 2004 22:37:03 +0000 Subject: [PATCH] if johnny has three fenceposts, and jill takes four away... svn:r2089 --- src/or/dirserv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.47.3