mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-07-07 08:14:58 +03:00
Use correct sizeof value (#426)
* Use correct sizeof() value * Use correct size for Zero()
This commit is contained in:
committed by
Moataz Elmasry
parent
596493e1a1
commit
3f553abf1d
@ -1341,7 +1341,7 @@ void GetServerCaps(SERVER *s, CAPSLIST *t)
|
||||
GetServerCapsMain(s, s->CapsListCache);
|
||||
}
|
||||
|
||||
Copy(t, s->CapsListCache, sizeof(s->CapsListCache));
|
||||
Copy(t, s->CapsListCache, sizeof(CAPSLIST));
|
||||
}
|
||||
Unlock(s->CapsCacheLock);
|
||||
}
|
||||
|
Reference in New Issue
Block a user