version 1.58, 2022/02/03 17:44:04 |
version 1.59, 2022/11/11 17:07:39 |
|
|
struct sockaddr_storage peer; |
struct sockaddr_storage peer; |
int peerlen = sizeof(peer); |
int peerlen = sizeof(peer); |
|
|
if (single_execution) { |
if (pledge("stdio cpath wpath rpath inet dns tty", NULL) == -1) { |
if (pledge("stdio cpath wpath rpath inet dns tty", NULL) == -1) { |
perror("pledge"); |
perror("pledge"); |
exit(1); |
exit(1); |
|
} |
|
} |
} |
|
|
memset(&s_client_config, 0, sizeof(s_client_config)); |
memset(&s_client_config, 0, sizeof(s_client_config)); |