1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-07-10 01:34:58 +03:00

Remove "BOOL", "TRUE" and "FALSE", use lowercase everywhere for consistency

This commit is contained in:
Davide Beatrici
2020-08-15 03:05:30 +02:00
parent 1c56562cc7
commit 337a04b758
9 changed files with 16 additions and 25 deletions

View File

@ -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);