]> git.ipfire.org Git - thirdparty/tor.git/commit
Fix compilation warnings in tor_addr_make_null patch
authorNick Mathewson <nickm@torproject.org>
Mon, 3 Mar 2014 15:00:37 +0000 (10:00 -0500)
committerNick Mathewson <nickm@torproject.org>
Mon, 3 Mar 2014 15:05:02 +0000 (10:05 -0500)
commitd98f743b282a8b28ed8d2d14db3bbfee40c5e6b0
tree3e1d8577f75e3ca73363b237590a57d08d3ae18a
parent4deae59e1cc5f259c7e22d7f7a294ad46e5e0b21
Fix compilation warnings in tor_addr_make_null patch

There was one "missing prototype" warning because the test function
wasn't static, and one "unused parameter" warning about the "data"
parameter.

Also, I added a couple of tests to make sure that the "make_null"
addresses really were the addresses we expected, by formatting them
as strings.
src/test/test_addr.c