diff options
author | Bert Belder <bertbelder@gmail.com> | 2012-06-12 19:52:38 +0200 |
---|---|---|
committer | Bert Belder <bertbelder@gmail.com> | 2012-06-12 19:52:38 +0200 |
commit | cbeeea62cf10bbf71636fe03282590050beb1d36 (patch) | |
tree | bf8334f327c4fa3d0377537c294448de55094331 /deps/uv/src/win/util.c | |
parent | b615077bab71db73cf065d6162cae8d6cb84d8d2 (diff) | |
download | node-new-cbeeea62cf10bbf71636fe03282590050beb1d36.tar.gz |
Revert "uv: upgrade to b7e150ee"
Upgrade wasn't done correctly.
This reverts commit b615077bab71db73cf065d6162cae8d6cb84d8d2.
Diffstat (limited to 'deps/uv/src/win/util.c')
-rw-r--r-- | deps/uv/src/win/util.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/deps/uv/src/win/util.c b/deps/uv/src/win/util.c index 4ceae04036..be43d50d20 100644 --- a/deps/uv/src/win/util.c +++ b/deps/uv/src/win/util.c @@ -21,7 +21,6 @@ #include <assert.h> #include <direct.h> -#include <limits.h> #include <malloc.h> #include <stdio.h> #include <string.h> @@ -774,13 +773,8 @@ uv_err_t uv_interface_addresses(uv_interface_address_t** addresses, for (adapter_address = adapter_addresses; adapter_address != NULL; adapter_address = adapter_address->Next) { - - if (adapter_address->OperStatus != IfOperStatusUp) - continue; - unicast_address = (IP_ADAPTER_UNICAST_ADDRESS_XP*) adapter_address->FirstUnicastAddress; - while (unicast_address) { (*count)++; unicast_address = unicast_address->Next; @@ -798,10 +792,6 @@ uv_err_t uv_interface_addresses(uv_interface_address_t** addresses, for (adapter_address = adapter_addresses; adapter_address != NULL; adapter_address = adapter_address->Next) { - - if (adapter_address->OperStatus != IfOperStatusUp) - continue; - name = NULL; unicast_address = (IP_ADAPTER_UNICAST_ADDRESS_XP*) adapter_address->FirstUnicastAddress; |