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

git-admin at x2go.org git-admin at x2go.org
Wed Mar 25 21:21:05 CET 2015


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch bugfix/osx
in repository x2goclient.

commit ef54c631332dae597dedb5be013658c9e437a318
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 7dfb16b..562e7f0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -257,6 +257,7 @@ x2goclient (4.0.4.0-0x2go1) UNRELEASED; urgency=low
     - 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.
 
   [ Fernando Pedemonte ]
   * New upstream release (4.0.4.0):
diff --git a/src/x2goclient.cpp b/src/x2goclient.cpp
index 58f80f0..dd9e489 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