[X2Go-Commits] [x2goclient] 08/14: src/sshmasterconnection.cpp: replace deprecated channel_read () function with ssh_channel_read ().
git-admin at x2go.org
git-admin at x2go.org
Thu Feb 2 06:55:29 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 5b3e174335e45e4f02407d9f532ab2ab63ce31c2
Author: Mihai Moldovan <ionic at ionic.de>
Date: Sat Jan 28 18:06:22 2017 +0100
src/sshmasterconnection.cpp: replace deprecated channel_read () function with ssh_channel_read ().
Might break on ancient systems, but we don't care.
---
debian/changelog | 3 +++
src/sshmasterconnection.cpp | 4 ++--
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 25e0fb0..daea092 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -585,6 +585,9 @@ x2goclient (4.1.0.0-0x2go1) UNRELEASED; urgency=medium
- src/sshmasterconnection.cpp: replace deprecated channel_poll () function
with ssh_channel_poll (). Might break on ancient systems, but we don't
care.
+ - src/sshmasterconnection.cpp: replace deprecated channel_read () function
+ with ssh_channel_read (). 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 babd71a..5828d0f 100644
--- a/src/sshmasterconnection.cpp
+++ b/src/sshmasterconnection.cpp
@@ -1662,7 +1662,7 @@ void SshMasterConnection::channelLoop()
#ifdef DEBUG
// x2goDebug<<"read err data from channel\n";
#endif
- nbytes = channel_read ( channel, buffer, sizeof ( buffer )-1, 1 );
+ nbytes = ssh_channel_read ( channel, buffer, sizeof ( buffer )-1, 1 );
emit stdErr ( channelConnections[i].creator, QByteArray ( buffer,nbytes ) );
#ifdef DEBUG
// x2goDebug<<nbytes<<" err from channel"<<endl;
@@ -1683,7 +1683,7 @@ void SshMasterConnection::channelLoop()
#ifdef DEBUG
// x2goDebug<<"read data from channel "<<channel<<endl;
#endif
- nbytes = channel_read ( channel, buffer, sizeof ( buffer )-1, 0 );
+ nbytes = ssh_channel_read ( channel, buffer, sizeof ( buffer )-1, 0 );
#ifdef DEBUG
// x2goDebug<<nbytes<<" from channel "<<channel<<endl;
#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