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

[or-cvs] r10087: Authority patch; backport candidate: include micro-versions (in tor/trunk: . src/or)



Author: nickm
Date: 2007-05-01 16:29:26 -0400 (Tue, 01 May 2007)
New Revision: 10087

Modified:
   tor/trunk/
   tor/trunk/src/or/dirserv.c
Log:
 r12621@catbus:  nickm | 2007-05-01 16:22:56 -0400
 Authority patch; backport candidate: include micro-versions in network status documents.



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

Modified: tor/trunk/src/or/dirserv.c
===================================================================
--- tor/trunk/src/or/dirserv.c	2007-05-01 20:13:49 UTC (rev 10086)
+++ tor/trunk/src/or/dirserv.c	2007-05-01 20:29:26 UTC (rev 10087)
@@ -1750,6 +1750,8 @@
       outp += strlen(outp);
       if (ri->platform && !strcmpstart(ri->platform, "Tor ")) {
         const char *eos = find_whitespace(ri->platform+4);
+        if (eos && !strcmpstart(eos, " (r"))
+          eos = find_whitespace(eos+1);
         if (eos) {
           char *platform = tor_strndup(ri->platform, eos-(ri->platform));
           if (tor_snprintf(outp, endp-outp,