[X2Go-Commits] [x2goclient] 92/280: pulsemanager.cpp: minor non-behavior changing fixes.

git-admin at x2go.org git-admin at x2go.org
Wed Jan 18 12:25:14 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 baafffcd4165be19f6f564a3ed93135b887baa7f
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Thu Oct 1 01:58:54 2015 +0200

    pulsemanager.cpp: minor non-behavior changing fixes.
---
 debian/changelog     |    1 +
 src/pulsemanager.cpp |    4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 8ac430f..3a82b73 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -195,6 +195,7 @@ x2goclient (4.0.5.3-0x2go1) UNRELEASED; urgency=medium
       a "real" dependency for modules.
     - pulsemanager.{cpp,h}: use name and underscore for member variables, not
       underscore and name.
+    - pulsemanager.cpp: minor non-behavior changing fixes.
 
   [ Bernard Cafarelli ]
   * New upstream version (4.0.5.3):
diff --git a/src/pulsemanager.cpp b/src/pulsemanager.cpp
index 5c38dd6..ecf442e 100644
--- a/src/pulsemanager.cpp
+++ b/src/pulsemanager.cpp
@@ -39,7 +39,7 @@ PulseManager::PulseManager () {
 
     state_ = QProcess::NotRunning;
 
-    pulse_server_ = 0;
+    pulse_server_ = NULL;
 
     app_dir_ = QApplication::applicationDirPath ();
 }
@@ -115,7 +115,7 @@ void PulseManager::find_port () {
         if (tcpSocket.waitForConnected (1000)) {
             tcpSocket.close ();
             free = false;
-            pulse_port_++;
+            ++pulse_port_;
         }
         else
             free = true;

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