From 63a2f005aaa1f5d9ec35b8812ac97fd508765380 Mon Sep 17 00:00:00 2001 From: AlexeyAB Date: Wed, 9 Jan 2019 13:46:53 +0300 Subject: [PATCH] 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 d1659c66..7d37d887 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; }