[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r10297: s/32/64/; s/breaks/works/; (in tor/trunk: . src/or)



Author: nickm
Date: 2007-05-22 20:43:20 -0400 (Tue, 22 May 2007)
New Revision: 10297

Modified:
   tor/trunk/
   tor/trunk/src/or/dirserv.c
Log:
 r12906@catbus:  nickm | 2007-05-22 20:43:13 -0400
 s/32/64/;  s/breaks/works/;



Property changes on: tor/trunk
___________________________________________________________________
 svk:merge ticket from /tor/trunk [r12906] on 8246c3cf-6607-4228-993b-4d95d33730f1

Modified: tor/trunk/src/or/dirserv.c
===================================================================
--- tor/trunk/src/or/dirserv.c	2007-05-22 23:51:39 UTC (rev 10296)
+++ tor/trunk/src/or/dirserv.c	2007-05-23 00:43:20 UTC (rev 10297)
@@ -1742,7 +1742,7 @@
     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 @@
                "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,