[X2Go-Commits] [libx2goclient] 110/132: src/x2goclient-network-ssh.c: add debug statements to see when parent_{dis, }connect functions have been called.

git-admin at x2go.org git-admin at x2go.org
Fri Dec 3 15:26:35 CET 2021


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository libx2goclient.

commit 250e592c5d3a9916ea70b33bacf9c83146445408
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Thu Sep 30 19:35:03 2021 +0200

    src/x2goclient-network-ssh.c: add debug statements to see when parent_{dis,}connect functions have been called.
---
 src/x2goclient-network-ssh.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/x2goclient-network-ssh.c b/src/x2goclient-network-ssh.c
index aa0a0e1..5619862 100644
--- a/src/x2goclient-network-ssh.c
+++ b/src/x2goclient-network-ssh.c
@@ -1187,6 +1187,8 @@ static gboolean x2goclient_network_ssh_parent_connect (const gpointer ptr, GErro
    */
   ret = TRUE;
 
+  g_log (NULL, G_LOG_LEVEL_DEBUG, "Called x2goclient_network_ssh_parent_connect");
+
   /* "Calculate" socket path. */
   gchar *session_path = NULL;
   g_object_get (G_OBJECT (self), "session-path", &session_path, NULL);
@@ -1425,6 +1427,8 @@ static gboolean x2goclient_network_ssh_parent_disconnect (const gpointer ptr, GE
   /* Most things can't really fail, so prepare for success. */
   ret = TRUE;
 
+  g_log (NULL, G_LOG_LEVEL_DEBUG, "Called x2goclient_network_ssh_parent_disconnect");
+
   /* Remove timeout source. */
   g_mutex_lock (&(self->check_thread_mutex));
   if (self->check_thread_loop) {

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/libx2goclient.git


More information about the x2go-commits mailing list