mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-21 14:41:26 +00:00
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:
parent
17169e3444
commit
3cb6a1eec2
|
@ -41,7 +41,7 @@ int init_users(in_addr_t my_ip, int netbits)
|
|||
{
|
||||
int i;
|
||||
int skip = 0;
|
||||
char newip[16];
|
||||
char newip[32];
|
||||
|
||||
int maxusers;
|
||||
|
||||
|
|
Loading…
Reference in a new issue