[X2Go-Commits] [x2goclient] 12/18: src/sshmasterconnection.cpp: replace deprecated channel_send_eof () function with ssh_channel_send_eof ().

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 a71ce029b0ea04ff9275521246e427441d18cc09
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Sat Jan 28 18:12:09 2017 +0100

    src/sshmasterconnection.cpp: replace deprecated channel_send_eof () function with ssh_channel_send_eof ().
    
    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 1027f28..19c75d1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -39,6 +39,9 @@ x2goclient (4.1.0.1-0x2go1) UNRELEASED; urgency=medium
     - src/sshmasterconnection.cpp: replace deprecated channel_write ()
       function with ssh_channel_write (). Might break on ancient systems, but
       we don't care.
+    - src/sshmasterconnection.cpp: replace deprecated channel_send_eof ()
+      function with ssh_channel_send_eof (). 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 c8379f0..fefa479 100644
--- a/src/sshmasterconnection.cpp
+++ b/src/sshmasterconnection.cpp
@@ -1793,7 +1793,7 @@ void SshMasterConnection::finalize ( int item )
     ssh_channel channel=channelConnections.at ( item ).channel;
     if ( channel )
     {
-        channel_send_eof ( channel );
+        ssh_channel_send_eof ( channel );
 #ifdef DEBUG
         x2goDebug<<"EOF sent.";
 #endif

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