mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-06-28 11:55:08 +03:00
spelling: compare
This commit is contained in:
parent
52304cb8ca
commit
401b50e614
@ -778,7 +778,7 @@ void AddCandidate(LIST *o, wchar_t *str, UINT num_max)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Comparison of candidates
|
// Comparison of candidates
|
||||||
int ComapreCandidate(void *p1, void *p2)
|
int CompareCandidate(void *p1, void *p2)
|
||||||
{
|
{
|
||||||
CANDIDATE *c1, *c2;
|
CANDIDATE *c1, *c2;
|
||||||
if (p1 == NULL || p2 == NULL)
|
if (p1 == NULL || p2 == NULL)
|
||||||
@ -828,7 +828,7 @@ void FreeCandidateList(LIST *o)
|
|||||||
// Creating a new candidate list
|
// Creating a new candidate list
|
||||||
LIST *NewCandidateList()
|
LIST *NewCandidateList()
|
||||||
{
|
{
|
||||||
return NewList(ComapreCandidate);
|
return NewList(CompareCandidate);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Fill a range of memory
|
// Fill a range of memory
|
||||||
|
@ -265,7 +265,7 @@ UINT PRandInt(PRAND *p);
|
|||||||
|
|
||||||
LIST *NewCandidateList();
|
LIST *NewCandidateList();
|
||||||
void FreeCandidateList(LIST *o);
|
void FreeCandidateList(LIST *o);
|
||||||
int ComapreCandidate(void *p1, void *p2);
|
int CompareCandidate(void *p1, void *p2);
|
||||||
void AddCandidate(LIST *o, wchar_t *str, UINT num_max);
|
void AddCandidate(LIST *o, wchar_t *str, UINT num_max);
|
||||||
BUF *CandidateToBuf(LIST *o);
|
BUF *CandidateToBuf(LIST *o);
|
||||||
LIST *BufToCandidate(BUF *b);
|
LIST *BufToCandidate(BUF *b);
|
||||||
|
Loading…
Reference in New Issue
Block a user