mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
r12621@catbus: nickm | 2007-05-01 16:22:56 -0400
Authority patch; backport candidate: include micro-versions in network status documents. svn:r10087
This commit is contained in:
parent
89ab267cfb
commit
c9c0d2846d
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user