Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base: master
...
compare: tadzik/tt-2101-fix
Checking mergeability… Don't worry, you can still create the pull request.
  • 1 commit
  • 1 file changed
  • 0 commit comments
  • 1 contributor
Showing with 2 additions and 16 deletions.
  1. +2 −16 config/auto/ipv6/test.in
View
18 config/auto/ipv6/test.in
@@ -17,23 +17,9 @@ Copyright (C) 2010, Parrot Foundation.
#include <string.h>
int main(int argc, char *argv[]) {
-#ifdef _WIN32
- struct WSAData sockinfo;
-#endif
- struct addrinfo hints;
- struct addrinfo *ai;
-
-#ifdef _WIN32
- WSAStartup(2, &sockinfo);
-#endif
-
- memset(&hints, 0, sizeof (struct addrinfo));
- hints.ai_family = PF_INET6;
- hints.ai_protocol = IPPROTO_TCP;
-
- getaddrinfo(NULL, "1234", &hints, &ai);
- printf("OK\n");
+ if (socket(AF_INET6, SOCK_STREAM, 0) > 0)
+ printf("OK\n");
return EXIT_SUCCESS;
}

No commit comments for this range

Something went wrong with that request. Please try again.