[X2Go-Commits] x2goserver.git - build-main (branch) updated: 3.0.99-2-81-ga694aac

X2Go dev team git-admin at x2go.org
Wed Dec 4 06:17:29 CET 2013


The branch, build-main has been updated
       via  a694aaca92f9f8c6cbc81d200b09beb48b06b79d (commit)
      from  04fc757c55d1e6a3f95b1e1058865569033d4bfb (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
-----------------------------------------------------------------------

Summary of changes:
 x2goserver/x2gosqlitewrapper.c |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

The diff of changes is:
diff --git a/x2goserver/x2gosqlitewrapper.c b/x2goserver/x2gosqlitewrapper.c
index b23037b..b702aa7 100644
--- a/x2goserver/x2gosqlitewrapper.c
+++ b/x2goserver/x2gosqlitewrapper.c
@@ -25,7 +25,8 @@
 #include <unistd.h>
 #include <libgen.h>
 
-int main() {
+int main( int argc, char *argv[] ) {
+
 	char buffer[BUFSIZ];
 	char * x2gosqlitewrapper = NULL;
 
@@ -36,8 +37,9 @@ int main() {
 	asprintf(&x2gosqlitewrapper, "%s/%s", dirname(dirname(buffer)), "lib/x2go/x2gosqlitewrapper.pl");
 
 	// execute the script, taking setuid bit into consideration if set...
-	execl(x2gosqlitewrapper, "");
+	execv(x2gosqlitewrapper, argv);
 
 	// fake a successful return value
 	return 0;
+
 }


hooks/post-receive
-- 
x2goserver.git (X2Go Server)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "x2goserver.git" (X2Go Server).




More information about the x2go-commits mailing list