|
@@ -19228,10 +19228,6 @@ mg_stop(struct mg_context *ctx)
|
|
|
|
|
|
mg_join_thread(mt);
|
|
|
free_context(ctx);
|
|
|
-
|
|
|
-#if defined(_WIN32)
|
|
|
- (void)WSACleanup();
|
|
|
-#endif /* _WIN32 */
|
|
|
}
|
|
|
|
|
|
|
|
@@ -19331,11 +19327,6 @@ static
|
|
|
|
|
|
struct mg_workerTLS tls;
|
|
|
|
|
|
-#if defined(_WIN32)
|
|
|
- WSADATA data;
|
|
|
- WSAStartup(MAKEWORD(2, 2), &data);
|
|
|
-#endif /* _WIN32 */
|
|
|
-
|
|
|
if (error != NULL) {
|
|
|
error->code = 0;
|
|
|
if (error->text_buffer_size > 0) {
|