aboutsummaryrefslogtreecommitdiff
path: root/nxcomp/src/StaticCompressor.cpp
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2021-11-18 23:14:46 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-04-27 14:13:31 +0200
commit68fddbe21ec21685885b2dd0cdfd5989e254d807 (patch)
treef6f0cb2357fb1c33bd9abbd3535620468daa2b78 /nxcomp/src/StaticCompressor.cpp
parenta1968f854121e1ef024fff8084cf61c765ba8450 (diff)
downloadnx-libs-68fddbe21ec21685885b2dd0cdfd5989e254d807.tar.gz
nx-libs-68fddbe21ec21685885b2dd0cdfd5989e254d807.tar.bz2
nx-libs-68fddbe21ec21685885b2dd0cdfd5989e254d807.zip
nxcomp: delete trailing whitespace
Diffstat (limited to 'nxcomp/src/StaticCompressor.cpp')
-rw-r--r--nxcomp/src/StaticCompressor.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/nxcomp/src/StaticCompressor.cpp b/nxcomp/src/StaticCompressor.cpp
index b47193354..e9fd8c4e2 100644
--- a/nxcomp/src/StaticCompressor.cpp
+++ b/nxcomp/src/StaticCompressor.cpp
@@ -150,7 +150,7 @@ int StaticCompressor::compressBuffer(const unsigned char *plainBuffer,
EncodeBuffer &encodeBuffer)
{
if (control -> LocalDataCompression == 0 ||
- compressBuffer(plainBuffer, plainSize,
+ compressBuffer(plainBuffer, plainSize,
compressedBuffer, compressedSize) <= 0)
{
encodeBuffer.encodeBoolValue(0);
@@ -204,7 +204,7 @@ int StaticCompressor::compressBuffer(const unsigned char *plainBuffer,
//
// Determine the size of the temporary
- // buffer.
+ // buffer.
//
unsigned int newSize = plainSize + (plainSize / 1000) + 12;
@@ -241,7 +241,7 @@ int StaticCompressor::compressBuffer(const unsigned char *plainBuffer,
bufferSize_ = newSize;
}
- unsigned int resultingSize = newSize;
+ unsigned int resultingSize = newSize;
int result = ZCompress(&compressionStream_, buffer_, &resultingSize,
plainBuffer, plainSize);
@@ -360,7 +360,7 @@ int StaticCompressor::decompressBuffer(unsigned char *plainBuffer,
{
#ifdef PANIC
*logofs << "StaticCompressor: PANIC! Expected decompressed size was "
- << plainSize << " while it is " << checkSize
+ << plainSize << " while it is " << checkSize
<< ".\n" << logofs_flush;
#endif
@@ -411,7 +411,7 @@ int StaticCompressor::decompressBuffer(unsigned char *plainBuffer,
{
#ifdef PANIC
*logofs << "StaticCompressor: PANIC! Expected decompressed size was "
- << plainSize << " while it is " << checkSize
+ << plainSize << " while it is " << checkSize
<< ".\n" << logofs_flush;
#endif