diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2010-10-08 16:25:44 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2010-10-08 16:25:44 +0000 |
commit | 3c7f29da8858142ac5062dc4f066c4fca5f7b284 (patch) | |
tree | 2f735c1fb630cecc43add30bf2cf8b8253e519a1 /src/util/os_network.c | |
parent | 3de15479a56c5c9c3cb7423807f019d4e5c18c1b (diff) |
Diffstat (limited to 'src/util/os_network.c')
-rw-r--r-- | src/util/os_network.c | 5 |
1 files changed, 2 insertions, 3 deletions
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 |