[X2Go-Commits] [x2goclient] 14/15: src/sshmasterconnection.cpp: replace deprecated channel_free () function with ssh_channel_free ().

git-admin at x2go.org git-admin at x2go.org
Sat Jan 28 18:43:11 CET 2017


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

x2go pushed a commit to branch feature/libssh-api-upgrade
in repository x2goclient.

commit 7954adbd070fdef53178f58d99e2528c8af58712
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Sat Jan 28 18:14:56 2017 +0100

    src/sshmasterconnection.cpp: replace deprecated channel_free () function with ssh_channel_free ().
    
    Might break on ancient systems, but we don't care.
---
 debian/changelog            |    3 +++
 src/sshmasterconnection.cpp |    2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 10e0a94..f641d09 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -599,6 +599,9 @@ x2goclient (4.1.0.0-0x2go1) UNRELEASED; urgency=medium
     - src/sshmasterconnection.cpp: replace deprecated channel_close ()
       function with ssh_channel_close (). Might break on ancient systems, but
       we don't care.
+    - src/sshmasterconnection.cpp: replace deprecated channel_free () function
+      with ssh_channel_free (). Might break on ancient systems, but we don't
+      care.
 
   [ Bernard Cafarelli ]
   * New upstream version (4.1.0.0):
diff --git a/src/sshmasterconnection.cpp b/src/sshmasterconnection.cpp
index c807390..84d8e53 100644
--- a/src/sshmasterconnection.cpp
+++ b/src/sshmasterconnection.cpp
@@ -1795,7 +1795,7 @@ void SshMasterConnection::finalize ( int item )
 #ifdef DEBUG
         x2goDebug<<"Channel closed.";
 #endif
-        channel_free ( channel );
+        ssh_channel_free ( channel );
     }
     if ( tcpSocket>0 )
     {

--
Alioth's /srv/git/code.x2go.org/x2goclient.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git


More information about the x2go-commits mailing list