Compile fix

This commit is contained in:
AlexeyAB 2019-01-09 13:46:53 +03:00
parent e6eba22adb
commit 63a2f005aa
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}