diff options
author | jacopo grandi <jak.sk8@hotmail.it> | 2021-03-02 12:33:02 +0100 |
---|---|---|
committer | jacopo grandi <jak.sk8@hotmail.it> | 2021-03-02 12:33:02 +0100 |
commit | 8e6e6d67bcf371246583e16b05be15fa4ee2abe2 (patch) | |
tree | c5198d34b766b18e792ac313ba32d74af2267949 /net | |
parent | 5c5c465dc0c98774d72f1cdc203ac515fd1d2735 (diff) |
design expansion, raid concept
Diffstat (limited to 'net')
-rw-r--r-- | net/net.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -89,6 +89,8 @@ int net_client_connect (net_client *c, char ip[], int port) { { p_socket_address_free (c->addr_server); p_socket_free (c->socket); + c->socket = NULL; + c->addr_server = NULL; printf("error client socket freed\n"); return 1; } |