diff options
author | ng0 <ng0@n0.is> | 2019-09-10 16:59:32 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-09-10 16:59:32 +0000 |
commit | 04b6df21cd281e8cd540139f8d9ae85defc1961c (patch) | |
tree | 6357199445df8d5c0c631bc8f10aef838b1f9f1e /src/util/test_resolver_api.c | |
parent | 483b0139a218a5f8a8311bda3eb23bcd88f57688 (diff) | |
download | gnunet-04b6df21cd281e8cd540139f8d9ae85defc1961c.tar.gz gnunet-04b6df21cd281e8cd540139f8d9ae85defc1961c.zip |
remove CYGWIN codeblocks, drop vendored Windows openvpn, drop win32 specific files.
configures and builds okay.
testsuite wasn't checked, will be checked.
diff including the plibc removal is now around 14370 lines of code less.
Diffstat (limited to 'src/util/test_resolver_api.c')
-rw-r--r-- | src/util/test_resolver_api.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/util/test_resolver_api.c b/src/util/test_resolver_api.c index ea26c4ee6..0b27a2eff 100644 --- a/src/util/test_resolver_api.c +++ b/src/util/test_resolver_api.c | |||
@@ -307,11 +307,8 @@ run(void *cls, char *const *args, const char *cfgfile, | |||
307 | #if HAVE_SOCKADDR_IN_SIN_LEN | 307 | #if HAVE_SOCKADDR_IN_SIN_LEN |
308 | sa.sin_len = (u_char)sizeof(sa); | 308 | sa.sin_len = (u_char)sizeof(sa); |
309 | #endif | 309 | #endif |
310 | #ifndef MINGW | ||
311 | inet_aton(ROOTSERVER_IP, &sa.sin_addr); | 310 | inet_aton(ROOTSERVER_IP, &sa.sin_addr); |
312 | #else | 311 | |
313 | sa.sin_addr.S_un.S_addr = inet_addr(ROOTSERVER_IP); | ||
314 | #endif | ||
315 | GNUNET_RESOLVER_hostname_get((const struct sockaddr *)&sa, | 312 | GNUNET_RESOLVER_hostname_get((const struct sockaddr *)&sa, |
316 | sizeof(struct sockaddr), GNUNET_YES, timeout, | 313 | sizeof(struct sockaddr), GNUNET_YES, timeout, |
317 | &check_rootserver_name, cls); | 314 | &check_rootserver_name, cls); |