#6236: Remove duplicate code between parse_{c,s}method_line -------------------------------------------------+------------------------- Reporter: asn | Owner: (none) Type: task | Status: new Priority: Medium | Milestone: Tor: | unspecified Component: Core Tor/Tor | Version: Severity: Normal | Resolution: Keywords: tor-client easy refactor duplicate- | Actual Points: code | Parent ID: | Points: 1 Reviewer: | Sponsor: -------------------------------------------------+-------------------------
Comment (by fristonio): For this, I was thinking of wrapping up the common functionalities of the two methods into a single function which can then be used by both of them to carry on parsing the line. Is this a good way to go or should I think of some other way to merge them? -- Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6236#comment:10> Tor Bug Tracker & Wiki <https://trac.torproject.org/> The Tor Project: anonymity online
_______________________________________________ tor-bugs mailing list tor-bugs@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs