diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2018-08-20 15:31:15 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2018-08-20 18:42:03 +0200 |
commit | dad456a1ee613a2d6f3d981046dba7604b1c133f (patch) | |
tree | 5a9baf8927a519291c71df5e29579fbc1aefc05c /include | |
parent | a0214dfc9a0849bc0da414b4458e313d20916799 (diff) | |
download | libssh-dad456a1ee613a2d6f3d981046dba7604b1c133f.tar.gz libssh-dad456a1ee613a2d6f3d981046dba7604b1c133f.tar.xz libssh-dad456a1ee613a2d6f3d981046dba7604b1c133f.zip |
include: Fix shadow variables in libsshpp
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/libssh/libsshpp.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/libssh/libsshpp.hpp b/include/libssh/libsshpp.hpp index c324cead..dc0b76b6 100644 --- a/include/libssh/libsshpp.hpp +++ b/include/libssh/libsshpp.hpp @@ -438,9 +438,9 @@ private: class Channel { friend class Session; public: - Channel(Session &session){ - channel=ssh_channel_new(session.getCSession()); - this->session=&session; + Channel(Session &ssh_session){ + channel = ssh_channel_new(ssh_session.getCSession()); + this->session = &ssh_session; } ~Channel(){ ssh_channel_free(channel); @@ -641,9 +641,9 @@ protected: ssh_channel channel; private: - Channel (Session &session, ssh_channel c_channel){ + Channel (Session &ssh_session, ssh_channel c_channel){ this->channel=c_channel; - this->session=&session; + this->session = &ssh_session; } /* No copy and no = operator */ Channel(const Channel &); |