[X2Go-Commits] [x2goclient] 227/257: src/onmainwindow.cpp: uppercase key type in debug output and comment string in generateKey ().

git-admin at x2go.org git-admin at x2go.org
Mon Nov 28 16:06:24 CET 2016


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

x2go pushed a commit to branch bugfix/osx
in repository x2goclient.

commit ba36025a193a80e8cfb79a02bf53daf70b7e1fbc
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Fri Sep 23 08:01:38 2016 +0200

    src/onmainwindow.cpp: uppercase key type in debug output and comment string in generateKey ().
---
 debian/changelog     |    2 ++
 src/onmainwindow.cpp |    5 +++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index eb651b7..5517f92 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -404,6 +404,8 @@ x2goclient (4.0.5.3-0x2go1) UNRELEASED; urgency=medium
     - src/onmainwindow.cpp: when starting sshd on Unix-based plattforms, raise
       maximum startup time to 5 seconds and break out early, if the process
       went into running state earlier.
+    - src/onmainwindow.cpp: uppercase key type in debug output and comment
+      string in generateKey ().
 
   [ Bernard Cafarelli ]
   * New upstream version (4.0.5.3):
diff --git a/src/onmainwindow.cpp b/src/onmainwindow.cpp
index e202b83..22bb3cd 100644
--- a/src/onmainwindow.cpp
+++ b/src/onmainwindow.cpp
@@ -10322,11 +10322,12 @@ QString ONMainWindow::generateKey(ONMainWindow::key_types key_type, bool host_ke
 
     if ((!(QFile::exists (private_key_file))) || (!(QFile::exists (public_key_file))))
     {
-        x2goDebug << "Generating SSH key. Type: " << stringified_key_type;
+        x2goDebug << "Generating SSH key. Type: " << stringified_key_type.toUpper ()
+                  << "; Location: " << private_key_file;
 
         QStringList args;
 
-        QString comment = "X2Go Client " + stringified_key_type + " ";
+        QString comment = "X2Go Client " + stringified_key_type.toUpper () + " ";
 
         if (host_key) {
             comment += "host";

--
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