user: Expand newip char array

Avoid warning
../src/user.c:66:17: note: ‘snprintf’ output between 8 and 18 bytes into a destination of size 16
This commit is contained in:
Erik Ekman 2022-07-18 23:34:19 +02:00
parent 17169e3444
commit 3cb6a1eec2

View file

@ -41,7 +41,7 @@ int init_users(in_addr_t my_ip, int netbits)
{ {
int i; int i;
int skip = 0; int skip = 0;
char newip[16]; char newip[32];
int maxusers; int maxusers;