Fix sparse warnings and add an extra sprinkling of const.

This is more or less the equivalent of Sven-Haegar Koch's fixes in the 1.1
branch.
This commit is contained in:
Guus Sliepen 2011-05-28 23:36:52 +02:00
parent 07ffb1a198
commit 6d08eb1614
35 changed files with 83 additions and 75 deletions

View file

@ -535,7 +535,7 @@ bool handle_new_meta_connection(int sock) {
return true;
}
void free_outgoing(outgoing_t *outgoing) {
static void free_outgoing(outgoing_t *outgoing) {
if(outgoing->ai)
freeaddrinfo(outgoing->ai);