r12720@catbus: nickm | 2007-05-10 15:29:24 -0400

Backport r10087: Include micro-versions in network-status documents.


svn:r10161
This commit is contained in:
Nick Mathewson 2007-05-10 19:29:46 +00:00
parent 1d5beb0df9
commit 4fce4886bc
2 changed files with 7 additions and 0 deletions

View File

@ -13,6 +13,11 @@ Changes in version 0.1.2.14 - 2007-0?-??
- Actually set the purpose correctly for descriptors inserted with
purpose=controller.
o Minor features:
- When routers publish SVN revisions in their router descriptors,
authorities now include those versions correctly in networkstatus
documents.
Changes in version 0.1.2.13 - 2007-04-24
o Minor fixes:

View File

@ -1679,6 +1679,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,