r12906@catbus: nickm | 2007-05-22 20:43:13 -0400

s/32/64/;  s/breaks/works/;


svn:r10297
This commit is contained in:
Nick Mathewson 2007-05-23 00:43:20 +00:00
parent e583827d60
commit ca9e13f2a0

View File

@ -1742,7 +1742,7 @@ generate_networkstatus_opinion(int v2)
contact = "(none)"; contact = "(none)";
if (versioning) { 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); version_lines = tor_malloc(v_len);
tor_snprintf(version_lines, v_len, tor_snprintf(version_lines, v_len,
"client-versions %s\nserver-versions %s\n", "client-versions %s\nserver-versions %s\n",
@ -1768,7 +1768,7 @@ generate_networkstatus_opinion(int v2)
"published %s\n" "published %s\n"
"dir-options%s%s%s\n" "dir-options%s%s%s\n"
"%s" /* client version line, server version line. */ "%s" /* client version line, server version line. */
"dir-signing-key\n%s\n", "dir-signing-key\n%s",
hostname, ipaddr, (int)options->DirPort, hostname, ipaddr, (int)options->DirPort,
fingerprint, fingerprint,
contact, contact,