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:
parent
b810352f67
commit
bb15152ccd
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user