Explorar o código

Remove redundant WSAStartup

xtne6f %!s(int64=5) %!d(string=hai) anos
pai
achega
0ab9c53458
Modificáronse 1 ficheiros con 0 adicións e 9 borrados
  1. 0 9
      src/civetweb.c

+ 0 - 9
src/civetweb.c

@@ -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) {