[X2Go-Commits] [nx-libs] 25/30: nxcomp/src/Loop.cpp: Harmonize log output. Uniformly, embrace port values by single quotes.

git-admin at x2go.org git-admin at x2go.org
Tue Feb 27 09:51:51 CET 2018


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch 3.6.x
in repository nx-libs.

commit a88ca271751c1bcf90b352b8c5a79631263c56aa
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Tue Feb 27 07:47:49 2018 +0100

    nxcomp/src/Loop.cpp: Harmonize log output. Uniformly, embrace port values by single quotes.
    
    Fixes ArcticaProject/nx-libs#617.
---
 nxcomp/src/Loop.cpp | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/nxcomp/src/Loop.cpp b/nxcomp/src/Loop.cpp
index 186bb71..251eb04 100644
--- a/nxcomp/src/Loop.cpp
+++ b/nxcomp/src/Loop.cpp
@@ -11010,8 +11010,8 @@ int SetPorts()
 
 
 
-  nxinfo << "Loop: cups port: " << cupsPort << "\n"
-         << std::flush;
+  nxinfo << "Loop: cups port: '" << cupsPort
+         << "'.\n" << std::flush;
 
   if (control -> ProxyMode == proxy_client) {
     auxPort.setDefaultTCPPort(DEFAULT_NX_AUX_PORT_OFFSET + proxyPort);
@@ -11031,8 +11031,8 @@ int SetPorts()
     }
   }
 
-  nxinfo << "Loop: aux port: " << auxPort << "\n"
-         << std::flush;
+  nxinfo << "Loop: aux port: '" << auxPort
+         << "'.\n" << std::flush;
 
   if (control -> ProxyMode == proxy_client) {
     smbPort.setDefaultTCPPort(DEFAULT_NX_SMB_PORT_OFFSET + proxyPort);
@@ -11042,8 +11042,8 @@ int SetPorts()
   }
 
 
-  nxinfo << "Loop: smb port: " << smbPort << "\n"
-         << std::flush;
+  nxinfo << "Loop: smb port: '" << smbPort
+         << "'.\n" << std::flush;
 
   if ( mediaPort.configured() ) {
     if (control -> ProxyMode == proxy_client) {

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git


More information about the x2go-commits mailing list