From 596311e2c79dd9c75fa55278580c8d575779dbe6 Mon Sep 17 00:00:00 2001 From: AlexeyAB Date: Wed, 9 Jan 2019 13:53:33 +0300 Subject: [PATCH] Another compile fix ) --- src/http_stream.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/http_stream.cpp b/src/http_stream.cpp index 7d37d887..1f6a7a4e 100644 --- a/src/http_stream.cpp +++ b/src/http_stream.cpp @@ -199,7 +199,7 @@ public: char *buf = (char *)calloc(1024, sizeof(char)); ::recv(s, buf, 1024, 0); free(buf); - ::closesocket(s); + //::closesocket(s); printf("MJPG_sender: close clinet: %d \n", result); continue; } @@ -370,7 +370,7 @@ public: char *buf = (char *)calloc(1024, sizeof(char)); ::recv(s, buf, 1024, 0); free(buf); - ::closesocket(s); + //::closesocket(s); printf("JSON_sender: close clinet: %d \n", result); continue; }