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

git-admin at x2go.org git-admin at x2go.org
Wed Feb 22 09:10:05 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 1d8a37ab475a9bcfdcefda0889076bf90b91908c
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 d5fe8e6..568bc35 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -45,6 +45,9 @@ x2goclient (4.1.0.1-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.
 
  -- X2Go Release Manager <git-admin at x2go.org>  Wed, 22 Feb 2017 07:13:10 +0100
 
diff --git a/src/sshmasterconnection.cpp b/src/sshmasterconnection.cpp
index 292c703..93ec02d 100644
--- a/src/sshmasterconnection.cpp
+++ b/src/sshmasterconnection.cpp
@@ -1801,7 +1801,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