LAN_discovery.c:
- LAN_ip(): use standard macro from IPv4-in-IPv6 test
network.c:
- addr_resolve(): for() instead of while(), flip conditions for a much neater function (suggested by Andreas Schneider)
- ip_ntoa(): enforced termination: terminate at the maximum position, that's the one snprintf() may forget
- networking_poll(): forgot tabs2spaces
DHT.c:
- get_close_nodes(): refactored the inner loop out into get_close_nodes_inner()