mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-07-07 00:04:57 +03:00
Remove "BOOL", "TRUE" and "FALSE", use lowercase everywhere for consistency
This commit is contained in:
@ -2693,7 +2693,7 @@ BLOCK *NewBlock(void *data, UINT size, int compress)
|
||||
if (compress == 0)
|
||||
{
|
||||
// Uncompressed
|
||||
b->Compressed = FALSE;
|
||||
b->Compressed = false;
|
||||
b->Buf = data;
|
||||
b->Size = size;
|
||||
b->SizeofData = size;
|
||||
@ -2703,7 +2703,7 @@ BLOCK *NewBlock(void *data, UINT size, int compress)
|
||||
UINT max_size;
|
||||
|
||||
// Compressed
|
||||
b->Compressed = TRUE;
|
||||
b->Compressed = true;
|
||||
max_size = CalcCompress(size);
|
||||
b->Buf = MallocFast(max_size);
|
||||
b->Size = Compress(b->Buf, max_size, data, size);
|
||||
@ -2717,7 +2717,7 @@ BLOCK *NewBlock(void *data, UINT size, int compress)
|
||||
// Expand
|
||||
UINT max_size;
|
||||
|
||||
b->Compressed = FALSE;
|
||||
b->Compressed = false;
|
||||
max_size = MAX_PACKET_SIZE;
|
||||
b->Buf = MallocFast(max_size);
|
||||
b->Size = Uncompress(b->Buf, max_size, data, size);
|
||||
|
@ -1780,7 +1780,7 @@ void ProcL2TPPacketRecv(L2TP_SERVER *l2tp, UDPPACKET *p)
|
||||
Insert(t->RecvQueue, q);
|
||||
|
||||
// Read to the end of completed part from the head of the queue
|
||||
while (TRUE)
|
||||
while (true)
|
||||
{
|
||||
L2TP_QUEUE *q;
|
||||
if (LIST_NUM(t->RecvQueue) == 0)
|
||||
|
@ -1972,10 +1972,10 @@ RECV_RETRY:
|
||||
if (recv_size == 0)
|
||||
{
|
||||
Debug("Radius recv_size 0\n");
|
||||
finish[pos] = TRUE;
|
||||
for(i = 0; i < LIST_NUM(ip_list); i++)
|
||||
finish[pos] = true;
|
||||
for (i = 0; i < LIST_NUM(ip_list); ++i)
|
||||
{
|
||||
if(finish[i] == FALSE)
|
||||
if (finish[i] == false)
|
||||
{
|
||||
// Switch the host to refer
|
||||
pos++;
|
||||
|
Reference in New Issue
Block a user