1
0
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:
Maks Naumov
2018-04-11 23:53:59 +03:00
committed by Moataz Elmasry
parent 596493e1a1
commit 3f553abf1d
2 changed files with 4 additions and 4 deletions

View File

@ -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);
}