mirror of
https://github.com/yarrick/iodine.git
synced 2025-10-16 08:22:37 +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:
@@ -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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user