summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-05-23 00:43:20 +0000
committerNick Mathewson <nickm@torproject.org>2007-05-23 00:43:20 +0000
commitca9e13f2a0c54b4e60868041c7e599546e349319 (patch)
tree4d93c742fb814ba9deddf4d97e855298e72eeeaf /src
parente583827d6012aecf8a5c17dfc51209d79aea593c (diff)
downloadtor-ca9e13f2a0c54b4e60868041c7e599546e349319.tar.gz
tor-ca9e13f2a0c54b4e60868041c7e599546e349319.zip
r12906@catbus: nickm | 2007-05-22 20:43:13 -0400
s/32/64/; s/breaks/works/; svn:r10297
Diffstat (limited to 'src')
-rw-r--r--src/or/dirserv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index a0fad00b67..52fde805b7 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -1742,7 +1742,7 @@ generate_networkstatus_opinion(int v2)
contact = "(none)";
if (versioning) {
- size_t v_len = 32+strlen(client_versions)+strlen(server_versions);
+ size_t v_len = 64+strlen(client_versions)+strlen(server_versions);
version_lines = tor_malloc(v_len);
tor_snprintf(version_lines, v_len,
"client-versions %s\nserver-versions %s\n",
@@ -1768,7 +1768,7 @@ generate_networkstatus_opinion(int v2)
"published %s\n"
"dir-options%s%s%s\n"
"%s" /* client version line, server version line. */
- "dir-signing-key\n%s\n",
+ "dir-signing-key\n%s",
hostname, ipaddr, (int)options->DirPort,
fingerprint,
contact,