1 diff -urN wget-1.9-rc1.org/src/main.c wget-1.9-rc1/src/main.c
2 --- wget-1.9-rc1.org/src/main.c 2003-10-17 09:40:01.000000000 +0200
3 +++ wget-1.9-rc1/src/main.c 2003-10-17 09:43:09.000000000 +0200
10 + int s = socket(AF_INET6, SOCK_STREAM, 0);
11 + if (s < 0 && (errno == EAFNOSUPPORT || errno == EINVAL))
12 + ip_default_family = AF_INET;
17 /* Construct the name of the executable, without the directory part. */
18 exec_name = strrchr (argv[0], PATH_SEPARATOR);