[X2Go-Commits] [x2goclient] 08/217: x2goclient.cpp: fix std::edit -> std::exit typo.

git-admin at x2go.org git-admin at x2go.org
Wed Sep 21 01:08:13 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 11b001279450a253ab97a26631f7c7594e6da7ac
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Mon Mar 16 20:45:24 2015 +0100

    x2goclient.cpp: fix std::edit -> std::exit typo.
---
 debian/changelog   |    1 +
 src/x2goclient.cpp |    2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 6058687..69de037 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -17,6 +17,7 @@ x2goclient (4.0.5.3-0x2go1) UNRELEASED; urgency=medium
     - x2goclient.cpp: add myself to copyright header.
     - x2goclient.cpp: add legacy <sys/types.h> header needed for old operating
       systems.
+    - x2goclient.cpp: fix std::edit -> std::exit typo.
 
  -- X2Go Release Manager <git-admin at x2go.org>  Mon, 19 Sep 2016 09:07:07 +0200
 
diff --git a/src/x2goclient.cpp b/src/x2goclient.cpp
index 1e92536..f495796 100644
--- a/src/x2goclient.cpp
+++ b/src/x2goclient.cpp
@@ -82,7 +82,7 @@ int main (int argc, char **argv) {
       std::cerr << "Error while forking: " << std::strerror (errno) << std::endl;
       std::cerr << "Terminating. Please report a bug, refer to this documentation: http://wiki.x2go.org/doku.php/wiki:bugs" << std::endl;
 
-      std::edit (EXIT_FAILURE);
+      std::exit (EXIT_FAILURE);
     }
     /* Parent. Just die here. */
     else {

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