summaryrefslogtreecommitdiffstats
path: root/include/libssh/libsshpp.hpp
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cynapses.org>2010-12-08 10:50:08 +0100
committerAndreas Schneider <asn@cynapses.org>2010-12-08 10:52:15 +0100
commit038c764055b84430a85ffdb893206dea24dafe28 (patch)
tree2d3809a926065a1d3d63ccf35971f8b5ce97926c /include/libssh/libsshpp.hpp
parent3ea33f9ab68e0a6367a34837fea17e7ea1c04383 (diff)
downloadlibssh-038c764055b84430a85ffdb893206dea24dafe28.tar.gz
libssh-038c764055b84430a85ffdb893206dea24dafe28.tar.xz
libssh-038c764055b84430a85ffdb893206dea24dafe28.zip
server: Remove channel_write_stderr.
Diffstat (limited to 'include/libssh/libsshpp.hpp')
-rw-r--r--include/libssh/libsshpp.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libssh/libsshpp.hpp b/include/libssh/libsshpp.hpp
index b874ae9..880c492 100644
--- a/include/libssh/libsshpp.hpp
+++ b/include/libssh/libsshpp.hpp
@@ -545,7 +545,7 @@ public:
int write(const void *data, size_t len, bool is_stderr=false){
int ret;
if(is_stderr){
- ret=channel_write_stderr(channel,data,len);
+ ret=ssh_channel_write_stderr(channel,data,len);
} else {
ret=ssh_channel_write(channel,data,len);
}