From a88ca271751c1bcf90b352b8c5a79631263c56aa Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 27 Feb 2018 07:47:49 +0100 Subject: 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(-) (limited to 'nxcomp') diff --git a/nxcomp/src/Loop.cpp b/nxcomp/src/Loop.cpp index 186bb7152..251eb04f3 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) { -- cgit v1.2.3