mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
Another compile fix )
This commit is contained in:
@ -199,7 +199,7 @@ public:
|
|||||||
char *buf = (char *)calloc(1024, sizeof(char));
|
char *buf = (char *)calloc(1024, sizeof(char));
|
||||||
::recv(s, buf, 1024, 0);
|
::recv(s, buf, 1024, 0);
|
||||||
free(buf);
|
free(buf);
|
||||||
::closesocket(s);
|
//::closesocket(s);
|
||||||
printf("MJPG_sender: close clinet: %d \n", result);
|
printf("MJPG_sender: close clinet: %d \n", result);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@ -370,7 +370,7 @@ public:
|
|||||||
char *buf = (char *)calloc(1024, sizeof(char));
|
char *buf = (char *)calloc(1024, sizeof(char));
|
||||||
::recv(s, buf, 1024, 0);
|
::recv(s, buf, 1024, 0);
|
||||||
free(buf);
|
free(buf);
|
||||||
::closesocket(s);
|
//::closesocket(s);
|
||||||
printf("JSON_sender: close clinet: %d \n", result);
|
printf("JSON_sender: close clinet: %d \n", result);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user