From: Matthias Wachs Date: Fri, 8 Oct 2010 16:25:44 +0000 (+0000) Subject: (no commit message) X-Git-Tag: initial-import-from-subversion-38251~20094 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3c7f29da8858142ac5062dc4f066c4fca5f7b284;p=oweals%2Fgnunet.git --- diff --git a/src/util/os_network.c b/src/util/os_network.c index 3b2254d58..453eea6f8 100644 --- a/src/util/os_network.c +++ b/src/util/os_network.c @@ -64,7 +64,6 @@ GNUNET_OS_network_interfaces_list (GNUNET_OS_NetworkInterfaceProcessor proc, { char szEntry[1001]; DWORD dwIP = 0; - int iItm; PIP_ADAPTER_INFO pAdapterInfo; PIP_ADAPTER_INFO pAdapter = NULL; DWORD dwRetVal = 0; @@ -155,7 +154,7 @@ GNUNET_OS_network_interfaces_list (GNUNET_OS_NetworkInterfaceProcessor proc, proc (proc_cls, szEntry, pAddrTable->table[dwIfIdx].dwIndex == dwExternalNIC, - &sa, + (const struct sockaddr *) &sa, 0)) break; } @@ -164,7 +163,7 @@ GNUNET_OS_network_interfaces_list (GNUNET_OS_NetworkInterfaceProcessor proc, GlobalFree (pTable); } - return GNUNET_YES; + return; #elif HAVE_GETIFADDRS && HAVE_FREEIFADDRS