]> git.ipfire.org Git - thirdparty/tor.git/commit
Fix clang warning, IPv6 address comment, buffer size typo
authorteor <teor2345@gmail.com>
Sat, 20 Dec 2014 11:20:54 +0000 (22:20 +1100)
committerteor <teor2345@gmail.com>
Sat, 20 Dec 2014 11:20:54 +0000 (22:20 +1100)
commit6a9cae2e1dafb756b30fda541e8b5d68cfd45f89
treeb6b7a4bdae9943809f68a8d47163dcb30b28274f
parentf7e8bc2b4bc0d6072a337d9420cd5cd395c9f9d2
Fix clang warning, IPv6 address comment, buffer size typo

The address of an array in the middle of a structure will
always be non-NULL. clang recognises this and complains.
Disable the tautologous and redundant check to silence
this warning.

A comment about an IPv6 address string incorrectly refers
to an IPv4 address format.

A log buffer is sized 10024 rather than 10240.

Fixes bug 14001.
changes/bug14001-clang-warning [new file with mode: 0644]
src/common/address.c
src/common/log.c
src/or/connection_edge.c