mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-25 19:09:52 +03:00
Merge PR #1354: Mayaqua/FileIO: Fix typo causing segmentation fault on Hamcore cache expiration
This commit is contained in:
commit
2262b8a160
@ -789,7 +789,7 @@ BUF *ReadHamcore(char *name)
|
|||||||
|
|
||||||
for (UINT i = 0; i < LIST_NUM(to_delete); ++i)
|
for (UINT i = 0; i < LIST_NUM(to_delete); ++i)
|
||||||
{
|
{
|
||||||
HC *c = LIST_DATA(hamcore, i);
|
HC *c = LIST_DATA(to_delete, i);
|
||||||
|
|
||||||
Delete(hamcore, c);
|
Delete(hamcore, c);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user