use smaller char array for storing host and port

This commit is contained in:
Solene Rapenne 2021-03-01 23:12:11 +01:00
parent 09e16ad795
commit da5ea6f65c
1 changed files with 2 additions and 2 deletions

4
main.c
View File

@ -10,8 +10,8 @@
int main(void){
struct sockaddr sock;
socklen_t slen = sizeof(sock);
char host[1024] = "";
char port[1044] = "";
char host[128] = "";
char port[6] = "";
int status;
unveil("/sbin/pfctl", "rx");