[X2Go-Commits] [x2goclient] 03/52: x2goclient.cpp: wrap X2Go Client main function and use that.

git-admin at x2go.org git-admin at x2go.org
Thu Jul 30 04:46:56 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 77d22ee5caf3744377665625c2ca01d38c4302ea
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Sun Mar 15 00:03:42 2015 +0100

    x2goclient.cpp: wrap X2Go Client main function and use that.
---
 debian/changelog   |    1 +
 src/x2goclient.cpp |    6 +++++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 26f66ea..9c2755b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ x2goclient (4.0.5.1-0x2go1) UNRELEASED; urgency=low
   * New upstream release (4.0.5.1):
     - {unixhelper.{cpp,h},x2goclient.pro{,.maemo}}: add unixhelper stub.
     - unixhelper.{cpp,h}: implement cleanup program for process group.
+    - x2goclient.cpp: wrap X2Go Client main function and use that.
 
  -- 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 a619cd7..80fd967 100644
--- a/src/x2goclient.cpp
+++ b/src/x2goclient.cpp
@@ -17,7 +17,11 @@
 
 #include "ongetpass.h"
 
+int wrap_x2go_main (int argc, char **argv) {
+  return (x2goMain (argc, argv));
+}
+
 int main(int argc, char *argv[])
 {
-	return x2goMain(argc,argv);
+	return (wrap_x2go_main (argc, argv));
 }

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