[X2Go-Commits] [x2goclient] 07/17: src/sshmasterconnection.cpp: replace deprecated channel_poll () function with ssh_channel_poll ().
git-admin at x2go.org
git-admin at x2go.org
Wed Feb 8 21:07:41 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 2fd60e85b29f705b39291ece9da4efb6aef4ee72
Author: Mihai Moldovan <ionic at ionic.de>
Date: Sat Jan 28 17:54:41 2017 +0100
src/sshmasterconnection.cpp: replace deprecated channel_poll () function with ssh_channel_poll ().
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 e84c4c1..65d63b3 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_request_exec ()
function with ssh_channel_request_exec (). Might break on ancient
systems, but we don't care.
+ - src/sshmasterconnection.cpp: replace deprecated channel_poll () function
+ with ssh_channel_poll (). 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 2f6d3cc..990fb93 100644
--- a/src/sshmasterconnection.cpp
+++ b/src/sshmasterconnection.cpp
@@ -1657,7 +1657,7 @@ void SshMasterConnection::channelLoop()
ssh_channel channel=channelConnections.at ( i ).channel;
if ( channel==0l )
continue;
- if ( channel_poll ( channel,1 ) >0 )
+ if ( ssh_channel_poll ( channel,1 ) > 0 )
{
#ifdef DEBUG
// x2goDebug<<"read err data from channel\n";
@@ -1668,7 +1668,7 @@ void SshMasterConnection::channelLoop()
// x2goDebug<<nbytes<<" err from channel"<<endl;
#endif
}
- int rez=channel_poll ( channel,0 );
+ int rez = ssh_channel_poll ( channel, 0 );
if ( rez==SSH_EOF )
{
#ifdef DEBUG
--
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