[X2Go-Commits] [libx2goclient] 08/09: src/test/sshtest.c: utilize new properties structure.

git-admin at x2go.org git-admin at x2go.org
Thu Aug 15 17:40:10 CEST 2019


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

x2go pushed a commit to branch master
in repository libx2goclient.

commit 542043d1084e9c85028f6296667e60e2bc1d5739
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Thu Aug 15 17:38:59 2019 +0200

    src/test/sshtest.c: utilize new properties structure.
---
 src/test/sshtest.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/test/sshtest.c b/src/test/sshtest.c
index 86ab603..571c379 100644
--- a/src/test/sshtest.c
+++ b/src/test/sshtest.c
@@ -59,7 +59,10 @@ int main (int argc, char **argv) {
   }
 
   X2GoClientNetworkSSH *net_ssh = x2goclient_network_ssh_new ();
-  g_object_set (G_OBJECT (net_ssh), "socket", ssh_uri, NULL);
+  g_object_set (G_OBJECT (net_ssh), "socket-spec", ssh_uri, NULL);
+  GSocketAddress *sock_addr = NULL;
+  g_object_get (G_OBJECT (net_ssh), "socket", &sock_addr, NULL);
+  g_printf ("sock_addr: %p\n", sock_addr);
 
   g_printf ("Trying to connect...\n");
   gboolean conn_ret = x2goclient_network_ssh_connect (net_ssh);

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