mirror of
git://erdgeist.org/opentracker
synced 2025-01-13 08:20:06 +00:00
Dont take address of address
This commit is contained in:
parent
543ab73017
commit
5805fe5f86
@ -518,7 +518,7 @@ int accesslist_bless_net( ot_net *net, ot_permissions permissions ) {
|
||||
if( g_admin_nets_count >= OT_ADMINIP_MAX )
|
||||
return -1;
|
||||
|
||||
memcpy(g_admin_nets + g_admin_nets_count, &net, sizeof(ot_net));
|
||||
memcpy(g_admin_nets + g_admin_nets_count, net, sizeof(ot_net));
|
||||
g_admin_nets_permissions[ g_admin_nets_count++ ] = permissions;
|
||||
|
||||
#ifdef _DEBUG
|
||||
|
Loading…
Reference in New Issue
Block a user