1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-06-28 11:55:08 +03:00

Use correct sizeof() value

This commit is contained in:
Maks Naumov 2018-01-16 12:42:11 +02:00 committed by GitHub
parent b810352f67
commit bb15152ccd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1359,7 +1359,7 @@ void GetServerCaps(SERVER *s, CAPSLIST *t)
GetServerCapsMain(s, s->CapsListCache); GetServerCapsMain(s, s->CapsListCache);
} }
Copy(t, s->CapsListCache, sizeof(s->CapsListCache)); Copy(t, s->CapsListCache, sizeof(CAPSLIST));
} }
Unlock(s->CapsCacheLock); Unlock(s->CapsCacheLock);
} }