Cleanup WIN32 target using WSACleanup().

pull/1/head
Gisle Vanem 18 years ago
parent 3f00c1cc9a
commit 908070821e
  1. 5
      adig.c
  2. 5
      ahost.c

@ -294,6 +294,11 @@ int main(int argc, char **argv)
}
ares_destroy(channel);
#ifdef USE_WINSOCK
WSACleanup();
#endif
return 0;
}

@ -143,6 +143,11 @@ int main(int argc, char **argv)
}
ares_destroy(channel);
#ifdef USE_WINSOCK
WSACleanup();
#endif
return 0;
}

Loading…
Cancel
Save