From 3c7f29da8858142ac5062dc4f066c4fca5f7b284 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Fri, 8 Oct 2010 16:25:44 +0000 Subject: --- src/util/os_network.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/util/os_network.c') diff --git a/src/util/os_network.c b/src/util/os_network.c index 3b2254d58c..453eea6f89 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 -- cgit v1.2.3-18-g5258