diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2021-11-18 23:14:46 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2023-04-27 14:13:31 +0200 |
commit | 68fddbe21ec21685885b2dd0cdfd5989e254d807 (patch) | |
tree | f6f0cb2357fb1c33bd9abbd3535620468daa2b78 /nxcomp/src/Misc.cpp | |
parent | a1968f854121e1ef024fff8084cf61c765ba8450 (diff) | |
download | nx-libs-68fddbe21ec21685885b2dd0cdfd5989e254d807.tar.gz nx-libs-68fddbe21ec21685885b2dd0cdfd5989e254d807.tar.bz2 nx-libs-68fddbe21ec21685885b2dd0cdfd5989e254d807.zip |
nxcomp: delete trailing whitespace
Diffstat (limited to 'nxcomp/src/Misc.cpp')
-rw-r--r-- | nxcomp/src/Misc.cpp | 10 |
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"); |