#20201: Update docstring for parse_bridge_line() in src/or/config.c ------------------------------+----------------- Reporter: isis | Owner: Type: defect | Status: new Priority: Very Low | Milestone: Component: Core Tor/Tor | Version: Severity: Trivial | Keywords: doc Actual Points: 1 | Parent ID: Points: 1 | Reviewer: Sponsor: | ------------------------------+----------------- It's pretty out-of-date.
{{{ /** Read the contents of a Bridge line from <b>line</b>. Return 0 * if the line is well-formed, and -1 if it isn't. If * <b>validate_only</b> is 0, and the line is well-formed, then add * the bridge described in the line to our internal bridge list. * * Bridge line format: * Bridge [transport] IP:PORT [id-fingerprint] [k=v] [k=v] ... */ /* private */ bridge_line_t * parse_bridge_line(const char *line) }}} The return types are totally different that specified, and the function does not add a well-formed bridge line to the internal bridge list as stated. -- Ticket URL: <https://trac.torproject.org/projects/tor/ticket/20201> 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