diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-05-01 20:29:26 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-05-01 20:29:26 +0000 |
commit | c9c0d2846d03cfe69711f2d33281a939c0f478eb (patch) | |
tree | ba7cb91c52bdfe00d64f45eb44c11a0cc5f85d27 | |
parent | 89ab267cfbf1994b6b82a7de107fde5337aa485a (diff) | |
download | tor-c9c0d2846d03cfe69711f2d33281a939c0f478eb.tar.gz tor-c9c0d2846d03cfe69711f2d33281a939c0f478eb.zip |
r12621@catbus: nickm | 2007-05-01 16:22:56 -0400
Authority patch; backport candidate: include micro-versions in network status documents.
svn:r10087
-rw-r--r-- | src/or/dirserv.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c index abe8f9596a..40ed962d62 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -1750,6 +1750,8 @@ generate_v2_networkstatus(void) 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, |