[X2Go-Commits] [x2goclient] 128/219: pulsemanager.cpp: fix some error messages by removing redundant newlines.
git-admin at x2go.org
git-admin at x2go.org
Thu Sep 22 04:36:53 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 d400cb3fcbf5172887e8428a69b737ab17f17b68
Author: Mihai Moldovan <ionic at ionic.de>
Date: Wed Dec 30 21:39:19 2015 +0100
pulsemanager.cpp: fix some error messages by removing redundant newlines.
---
debian/changelog | 2 ++
src/pulsemanager.cpp | 4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 6a584f9..12955e2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -218,6 +218,8 @@ x2goclient (4.0.5.3-0x2go1) UNRELEASED; urgency=medium
with first skeleton. Call it in the constructor.
- pulsemanager.cpp: re-initialize buffer string on each run while getting
CWD on Linux.
+ - pulsemanager.cpp: fix some error messages by removing redundant
+ newlines.
-- 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 06ef766..3f7256a 100644
--- a/src/pulsemanager.cpp
+++ b/src/pulsemanager.cpp
@@ -68,7 +68,7 @@ PulseManager::PulseManager () : pulse_X2Go_ ("/.x2go/pulse"),
for (buf = ptr = NULL; ptr == NULL; path_len += 20) {
if (NULL == (buf = realloc (buf, path_len))) {
- x2goErrorf (16) << "Could not allocate buffer for getting current working directory!" << std::endl;
+ x2goErrorf (16) << "Could not allocate buffer for getting current working directory!";
abort ();
}
@@ -76,7 +76,7 @@ PulseManager::PulseManager () : pulse_X2Go_ ("/.x2go/pulse"),
ptr = getcwd (buf, path_len);
if ((NULL == ptr) && (ERANGE != erange)) {
- x2goErrorf (17) << "getcwd() failed: " << QString (strerror (errno)) << std::endl;
+ x2goErrorf (17) << "getcwd() failed: " << QString (strerror (errno));
abort ();
}
}
--
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