ws2_32: Test for invalid hostnames again.
This commit is contained in:
parent
abaac300d1
commit
d88ee55e68
|
@ -1828,14 +1828,10 @@ static void test_gethostbyname_hack(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
|
||||||
/* Can't expect ISPs to behave anymore; many send you to spam sites
|
|
||||||
* if you type in a bogus URL nowadays.
|
|
||||||
*/
|
|
||||||
he = NULL;
|
he = NULL;
|
||||||
he = gethostbyname("someweirdandbogusname");
|
he = gethostbyname("nonexistent.winehq.org");
|
||||||
ok(he == NULL, "gethostbyname(\"someweirdandbogusname\") succeeded.\n");
|
/* Don't check for the return value, as some braindead ISPs will kindly
|
||||||
#endif
|
* resolve nonexistent host names to addresses of the ISP's spam pages. */
|
||||||
}
|
}
|
||||||
|
|
||||||
static void test_inet_addr(void)
|
static void test_inet_addr(void)
|
||||||
|
|
Loading…
Reference in New Issue