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

git-admin at x2go.org git-admin at x2go.org
Wed Sep 21 01:08:52 CEST 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 c1762b877b70aaa3482237ef4006b2d3d9a1dd29
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 b047b2c..8a54c0f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -165,6 +165,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.
 
  -- X2Go Release Manager <git-admin at x2go.org>  Mon, 19 Sep 2016 09:07:07 +0200
 
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