Compare commits

..

No commits in common. "ea88466a9804b3d26315ab975e7269e1ac8e06a4" and "8091c097b62df9f223aae5b4c756c8a8cbf1cc00" have entirely different histories.

2 changed files with 2 additions and 2 deletions

View file

@ -104,7 +104,7 @@ int create_tcp_socket(unsigned short port) {
}
void cleanup_tcp_socket(int *tcp_socket) {
if (tcp_socket && *tcp_socket >= 0) {
if (tcp_socket && *tcp_socket != -1) {
close(*tcp_socket);
*tcp_socket = -1;
}

@ -1 +1 @@
Subproject commit 6b862ab022202523606bda2fe39236c71891b304
Subproject commit 2252b7d7324454560f15286feb2e59f8deee0dc2