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

git-admin at x2go.org git-admin at x2go.org
Thu Jul 30 04:46:59 CEST 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 19f900d4bfbfa392f7fc5ca507aab3f9b3e10691
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 8a3cb8c..863c5df 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,6 +14,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.
 
  -- X2Go Release Manager <git-admin at x2go.org>  Tue, 28 Jul 2015 06:05:27 +0200
 
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