Skip to content
Snippets Groups Projects
Commit d88ee55e authored by Kai Blin's avatar Kai Blin Committed by Alexandre Julliard
Browse files

ws2_32: Test for invalid hostnames again.

parent abaac300
No related branches found
No related tags found
No related merge requests found
......@@ -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 = gethostbyname("someweirdandbogusname");
ok(he == NULL, "gethostbyname(\"someweirdandbogusname\") succeeded.\n");
#endif
he = gethostbyname("nonexistent.winehq.org");
/* Don't check for the return value, as some braindead ISPs will kindly
* resolve nonexistent host names to addresses of the ISP's spam pages. */
}
static void test_inet_addr(void)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment