[tor-bugs] #20218 [Core Tor/Tor]: Fix and refactor and redocument routerstatus_has_changed
Tor Bug Tracker & Wiki
blackhole at torproject.org
Fri Jan 26 10:45:08 UTC 2018
#20218: Fix and refactor and redocument routerstatus_has_changed
-------------------------------------------------+-------------------------
Reporter: nickm | Owner: (none)
Type: defect | Status: new
Priority: Medium | Milestone: Tor:
| unspecified
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: 029-proposed, tor-control, easy, | Actual Points:
spec-conformance |
Parent ID: | Points: .1
Reviewer: | Sponsor:
-------------------------------------------------+-------------------------
Comment (by teor):
Your new function should have the same arguments and return type as
routerstatus_has_changed():
{{{
static int
routerstatus_has_changed(const routerstatus_t *a, const routerstatus_t *b)
}}}
https://gitweb.torproject.org/tor.git/tree/src/or/networkstatus.c#n1541
So now that you have two routerstatus objects, what can you do?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/20218#comment:19>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list