From 45bf417301fb0a2efe63a6c9e2b01aeb8587de82 Mon Sep 17 00:00:00 2001 From: Gisle Vanem Date: Wed, 21 Feb 2007 15:01:51 +0000 Subject: Cleanup WIN32 target using WSACleanup(). --- ares/ahost.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ares/ahost.c') diff --git a/ares/ahost.c b/ares/ahost.c index 6767b307f..2fa6dac76 100644 --- a/ares/ahost.c +++ b/ares/ahost.c @@ -143,6 +143,11 @@ int main(int argc, char **argv) } ares_destroy(channel); + +#ifdef USE_WINSOCK + WSACleanup(); +#endif + return 0; } -- cgit v1.2.3