[X2Go-Commits] lightdm-remote-session-x2go.git - build-main (branch) updated: 898c43cef8d4e57740227743794700f0d7fa2ca2
X2Go dev team
git-admin at x2go.org
Sat Apr 27 13:49:57 CEST 2013
The branch, build-main has been updated
via 898c43cef8d4e57740227743794700f0d7fa2ca2 (commit)
from 3642390b3c53f469916e02f7a1bebe4ebd0aeba3 (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:
socket-sucker.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
The diff of changes is:
diff --git a/socket-sucker.c b/socket-sucker.c
index d711cb0..54aee32 100644
--- a/socket-sucker.c
+++ b/socket-sucker.c
@@ -62,11 +62,14 @@ main (int argc, char * argv[])
int out = 0;
in = read(socket_fd, buffer, BUFFER_SIZE);
- out = write(1, buffer, in);
+
+ if (in > 0) {
+ out = write(1, buffer, in);
+ }
close(socket_fd);
- if (in == 0) {
+ if (in > 0 && out > 0) {
return 0;
} else {
return -1;
hooks/post-receive
--
lightdm-remote-session-x2go.git (X2Go-based remote login session support for LightDM)
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 "lightdm-remote-session-x2go.git" (X2Go-based remote login session support for LightDM).
More information about the x2go-commits
mailing list