[X2Go-Commits] [libx2goclient] 10/44: src/x2goclient-network-ssh.c: don't assign NULL to a (g)boolean.

git-admin at x2go.org git-admin at x2go.org
Fri Sep 18 01:55:38 CEST 2020


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

x2go pushed a commit to branch master
in repository libx2goclient.

commit b98389b0713cb46cd50a6c45fbe0358f9fb3dbf6
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Thu Jul 30 12:06:26 2020 +0200

    src/x2goclient-network-ssh.c: don't assign NULL to a (g)boolean.
    
    This should have been FALSE, naturally.
---
 src/x2goclient-network-ssh.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/x2goclient-network-ssh.c b/src/x2goclient-network-ssh.c
index e833ead..7344546 100644
--- a/src/x2goclient-network-ssh.c
+++ b/src/x2goclient-network-ssh.c
@@ -175,7 +175,7 @@ static void x2goclient_network_ssh_init (X2GoClientNetworkSSH * const self) {
 
   self->control_path = NULL;
   self->master_conn = NULL;
-  self->active_master_conn = NULL;
+  self->active_master_conn = FALSE;
 }
 
 X2GoClientNetworkSSH* x2goclient_network_ssh_new (const char * const session_path) {

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