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

[tor-bugs] #17985 [Tor]: Refactor common parts of entry_is_live and entry_guard_set_status



#17985: Refactor common parts of entry_is_live and entry_guard_set_status
-----------------------------+---------------------------
     Reporter:  teor         |      Owner:
         Type:  enhancement  |     Status:  new
     Priority:  Medium       |  Milestone:  Tor: 0.2.???
    Component:  Tor          |    Version:
     Severity:  Normal       |   Keywords:  easy refactor
Actual Points:               |  Parent ID:
       Points:               |    Sponsor:
-----------------------------+---------------------------
 entry_is_live and entry_guard_set_status look very similar, and return
 almost identical messages.

 We could refactor out the common code (even if we have to use macros).

 This would also avoid them getting out of sync.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/17985>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs