aboutsummaryrefslogtreecommitdiff
path: root/nxcomp/src/ReadBuffer.cpp
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-04-27 14:23:39 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-04-27 14:23:39 +0200
commit9b94209f53782ecaf7084722ce90836573ceb86b (patch)
tree42354553aeeb29d9490a3120f0c5cd687cbad370 /nxcomp/src/ReadBuffer.cpp
parent91d9218c0cc659f40918af6ac6c035c6c48d2c6d (diff)
parent16f6803f1597788b3bebcfa15e8900d8420b54a4 (diff)
downloadnx-libs-9b94209f53782ecaf7084722ce90836573ceb86b.tar.gz
nx-libs-9b94209f53782ecaf7084722ce90836573ceb86b.tar.bz2
nx-libs-9b94209f53782ecaf7084722ce90836573ceb86b.zip
Merge branch 'uli42-pr/various9' into 3.6.x
Attributes GH PR #1029: https://github.com/ArcticaProject/nx-libs/pull/1029
Diffstat (limited to 'nxcomp/src/ReadBuffer.cpp')
-rw-r--r--nxcomp/src/ReadBuffer.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/nxcomp/src/ReadBuffer.cpp b/nxcomp/src/ReadBuffer.cpp
index 154225e75..ea12927f3 100644
--- a/nxcomp/src/ReadBuffer.cpp
+++ b/nxcomp/src/ReadBuffer.cpp
@@ -302,7 +302,7 @@ int ReadBuffer::readMessage()
#ifdef TEST
*logofs << "ReadBuffer: Moving " << length_
<< " bytes of data " << "at beginning of "
- << "the buffer for FD#" << transport_ -> fd()
+ << "the buffer for FD#" << transport_ -> fd()
<< ".\n" << logofs_flush;
#endif
@@ -312,15 +312,15 @@ int ReadBuffer::readMessage()
start_ = 0;
#ifdef DEBUG
- *logofs << "ReadBuffer: Buffer size is now " << size_
- << " length is " << length_ << " and start is "
+ *logofs << "ReadBuffer: Buffer size is now " << size_
+ << " length is " << length_ << " and start is "
<< start_ << ".\n" << logofs_flush;
#endif
unsigned char *readData = buffer_ + length_;
#ifdef DEBUG
- *logofs << "ReadBuffer: Going to read " << readLength
+ *logofs << "ReadBuffer: Going to read " << readLength
<< " bytes from FD#" << transport_ -> fd() << ".\n"
<< logofs_flush;
#endif
@@ -454,7 +454,7 @@ const unsigned char *ReadBuffer::getMessage(unsigned int &controlLength,
convertBuffer();
}
-
+
return NULL;
}
else