[X2Go-Commits] [x2goclient] 01/01: Fix Cygwin sshd logging when filepath contains a space

git-admin at x2go.org git-admin at x2go.org
Sun Jun 5 14:43:27 CEST 2016


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

x2go pushed a commit to branch master
in repository x2goclient.

commit 81172fce07c95972fb137e9a6ea84a6fd45e9796
Author: Mike DePaulo <mikedep333 at gmail.com>
Date:   Sun Jun 5 08:42:34 2016 -0400

    Fix Cygwin sshd logging when filepath contains a space
    
    by putting quotes around it.
---
 src/onmainwindow.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/onmainwindow.cpp b/src/onmainwindow.cpp
index 0efd908..01c1b1f 100644
--- a/src/onmainwindow.cpp
+++ b/src/onmainwindow.cpp
@@ -10411,7 +10411,7 @@ bool ONMainWindow::startSshd()
 
     strm<<clientdir<<"\\sshd.exe -D -p "<<clientSshPort.toInt()<<" -f "<< config <<" -h "<<key;
     if (debugging){
-        strm<<" -E "<<sshLog.toStdString();
+        strm<<" -E "<<"\""<<sshLog.toStdString()<<"\"";
     }
 
     STARTUPINFOA si;

--
Alioth's /srv/git/code.x2go.org/x2goclient.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git


More information about the x2go-commits mailing list