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

git-admin at x2go.org git-admin at x2go.org
Sat Dec 10 13:35:36 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 676c1c3ff1f79d794740fb3500257caee77f357e
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 43de88c..76ed040 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -173,6 +173,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