mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-22 04:56:07 +03: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 i;
|
||||||
int skip = 0;
|
int skip = 0;
|
||||||
char newip[16];
|
char newip[32];
|
||||||
|
|
||||||
int maxusers;
|
int maxusers;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user