]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
if johnny has three fenceposts, and jill takes four away...
authorRoger Dingledine <arma@torproject.org>
Wed, 21 Jul 2004 22:37:03 +0000 (22:37 +0000)
committerRoger Dingledine <arma@torproject.org>
Wed, 21 Jul 2004 22:37:03 +0000 (22:37 +0000)
svn:r2089

src/or/dirserv.c

index 66980b49ff6e0af93713a9ccb61053576c4f9257..a05ed98fa796267d7beccd3a71ae2ec5df813e97 100644 (file)
@@ -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)