Compare commits
2 commits
8091c097b6
...
ea88466a98
Author | SHA1 | Date | |
---|---|---|---|
ea88466a98 | |||
371c180cc7 |
2 changed files with 2 additions and 2 deletions
|
@ -104,7 +104,7 @@ int create_tcp_socket(unsigned short port) {
|
|||
}
|
||||
|
||||
void cleanup_tcp_socket(int *tcp_socket) {
|
||||
if (tcp_socket && *tcp_socket != -1) {
|
||||
if (tcp_socket && *tcp_socket >= 0) {
|
||||
close(*tcp_socket);
|
||||
*tcp_socket = -1;
|
||||
}
|
||||
|
|
2
third_party/SimpleArchiver
vendored
2
third_party/SimpleArchiver
vendored
|
@ -1 +1 @@
|
|||
Subproject commit 2252b7d7324454560f15286feb2e59f8deee0dc2
|
||||
Subproject commit 6b862ab022202523606bda2fe39236c71891b304
|
Loading…
Reference in a new issue