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

git-admin at x2go.org git-admin at x2go.org
Wed Jan 13 18:41:24 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 aa2ff1f9fdab73e9e3c17bec9d015b9c692d73a3
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 216e0fe..0cfc50d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -29,6 +29,7 @@ x2goclient (4.0.5.1-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.
   * debian/control:
     - Change apache2-dev | libc6-dev build dependency back to apache2-dev
       only. Otherwise, apache2-dev is not installed at all, even though
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