1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00
curl/tests/server
Marcel Raad 55f4ababde
tests/server/util: remove in6addr_any for recent MinGW
In ancient MinGW versions, in6addr_any was declared as extern, but not
defined. Because of that, 22a0c57746 added
definitions for in6addr_any when compiling with MinGW. The bug was fixed in
w32api version 3.6 from 2006, so this workaround is not needed anymore for
recent versions.

This fixes the following MinGW-w64 warnings because the MinGW-w64 version of
IN6ADDR_ANY_INIT has the two additional braces inside the macro:
util.c:59:14: warning: braces around scalar initializer
util.c:59:40: warning: excess elements in scalar initializer

Ref: e4803e0da2/tree/w32api/ChangeLog
Closes https://github.com/curl/curl/pull/1379
2017-04-03 11:18:08 +02:00
..
.gitignore gitignore: Sort for readability 2015-08-18 01:03:05 -04:00
base64.pl utility to base encode data passed on stdin 2004-11-29 12:09:05 +00:00
CMakeLists.txt cmake: add ENABLE_THREADED_RESOLVER, rename ARES 2014-11-10 09:09:25 +01:00
fake_ntlm.c tests/server: comply with our code style 2016-04-03 22:38:36 +02:00
getpart.c checksrc: warn for assignments within if() expressions 2016-12-14 01:29:44 +01:00
getpart.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
Makefile.am make/checksrc: use $srcdir, not $top_srcdir 2016-04-19 08:56:06 +02:00
Makefile.inc tests/util: get a private strncasecompare clone 2016-10-31 23:49:54 +01:00
resolve.c tests/server: comply with our code style 2016-04-03 22:38:36 +02:00
rtspd.c checksrc: warn for assignments within if() expressions 2016-12-14 01:29:44 +01:00
server_setup.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
server_sockaddr.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
sockfilt.c checksrc: warn for assignments within if() expressions 2016-12-14 01:29:44 +01:00
sws.c sws: use SOCKERRNO, not errno 2017-01-19 23:04:53 +01:00
testpart.c tests/server: comply with our code style 2016-04-03 22:38:36 +02:00
tftp.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tftpd.c checksrc: warn for assignments within if() expressions 2016-12-14 01:29:44 +01:00
util.c tests/server/util: remove in6addr_any for recent MinGW 2017-04-03 11:18:08 +02:00
util.h tests: checksrc compliance 2016-12-19 02:31:59 -05:00