[X2Go-Commits] [x2goclient] 10/18: src/sshmasterconnection.cpp: replace deprecated channel_is_eof () function with ssh_channel_is_eof ().

git-admin at x2go.org git-admin at x2go.org
Wed Feb 8 20:50:26 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 6770e2322d726e417b0df35577fd3d69c1c86b8a
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Sat Jan 28 18:08:26 2017 +0100

    src/sshmasterconnection.cpp: replace deprecated channel_is_eof () function with ssh_channel_is_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 4260f69..f133773 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -591,6 +591,9 @@ x2goclient (4.1.0.0-0x2go1) UNRELEASED; urgency=medium
     - src/sshmasterconnection.cpp: replace deprecated channel_read () function
       with ssh_channel_read (). Might break on ancient systems, but we don't
       care.
+    - src/sshmasterconnection.cpp: replace deprecated channel_is_eof ()
+      function with ssh_channel_is_eof (). 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 5828d0f..2857e11 100644
--- a/src/sshmasterconnection.cpp
+++ b/src/sshmasterconnection.cpp
@@ -1724,7 +1724,7 @@ void SshMasterConnection::channelLoop()
                     continue;
                 }
 
-                if ( channel_is_eof ( channel ) )
+                if ( ssh_channel_is_eof ( channel ) )
                 {
 #ifdef DEBUG
                     x2goDebug<<"EOF on channel "<<channel<<"; SshProcess object: "<<channelConnections[i].creator->pid;

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