Browse Source

replaced 'close()' with 'closesocket()'

pull/783/head
Logan oos Even 3 years ago
committed by GitHub
parent
commit
c5970986f5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/n2n.c

2
src/n2n.c

@ -98,7 +98,7 @@ int detect_local_ip_address (n2n_sock_t* out_sock, const n2n_edge_t* eee) {
return -4;
} else
return -3;
close(probe_sock);
closesocket(probe_sock);
} else
return -2;

Loading…
Cancel
Save