aboutsummaryrefslogtreecommitdiff
path: root/nxcomp/src/Misc.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/Misc.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/Misc.cpp')
-rw-r--r--nxcomp/src/Misc.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/nxcomp/src/Misc.cpp b/nxcomp/src/Misc.cpp
index d0d82d0aa..cb27cc610 100644
--- a/nxcomp/src/Misc.cpp
+++ b/nxcomp/src/Misc.cpp
@@ -68,7 +68,7 @@ const int DEFAULT_LOOPBACK_BIND = 0;
const int DEFAULT_NX_PROXY_PORT_OFFSET = 4000;
//
-// Default TCP port used by client proxy to listen to
+// Default TCP port used by client proxy to listen to
// X clients and by server proxy to connect to remote.
//
@@ -1907,11 +1907,11 @@ void DumpHexData(const unsigned char *buffer, unsigned int size)
*logofs << message << logofs_flush;
- //
+ //
// "Index 0 1 2 3 4 5 6 7 8 9 a b c d e f Ascii "
// "----- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- ----------------"
// "00000 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................"
- //
+ //
sprintf (message,"Index 0 1 2 3 4 5 6 7 8 9 a b c d e f Ascii \n");
*logofs << message << logofs_flush;
@@ -1929,7 +1929,7 @@ void DumpHexData(const unsigned char *buffer, unsigned int size)
sprintf (message,"%.5d ", index);
for (index_ascii = 0, linescan = index;
- ((index < (linescan + 16)) && (index < size));
+ ((index < (linescan + 16)) && (index < size));
index++, index_ascii++)
{
if (isprint(buffer [index]))
@@ -1952,7 +1952,7 @@ void DumpHexData(const unsigned char *buffer, unsigned int size)
sprintf (&message [strlen (message)]," %s\n", ascii);
*logofs << message << logofs_flush;
- }
+ }
sprintf (message,"\n#### End Dump Buffer ####\n\n");