[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:59 CEST 2016


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

x2go pushed a commit to branch bugfix/mswin-1002
in repository x2goclient.

commit 02e320ca8f2dda897b62ad705033fc5011c7bf32
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 3fab27f..18e1bcc 100644
--- a/src/onmainwindow.cpp
+++ b/src/onmainwindow.cpp
@@ -10342,7 +10342,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