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

git-admin at x2go.org git-admin at x2go.org
Wed Jan 18 12:26:05 CET 2017


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

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

commit 53077089d76f695c23625382b9e8f5f501867fdc
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 9496a33..211af30 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -428,6 +428,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 adf354c..b1d8bcb 100644
--- a/src/onmainwindow.cpp
+++ b/src/onmainwindow.cpp
@@ -10358,11 +10358,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