aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-02-23 12:38:45 +0100
committerAndreas Schneider <asn@cryptomilk.org>2011-02-23 12:38:45 +0100
commitdab8f847e6581e567879c8b5ca7724d849049498 (patch)
tree22556388a7380f70d9e0abeb9fadbf173792458a /src
parent8d3823127c808f5f73e8f81ce4381d221b501516 (diff)
downloadlibssh-dab8f847e6581e567879c8b5ca7724d849049498.tar.gz
libssh-dab8f847e6581e567879c8b5ca7724d849049498.tar.xz
libssh-dab8f847e6581e567879c8b5ca7724d849049498.zip
legacy: Added missing channel_write_stderr.
Diffstat (limited to 'src')
-rw-r--r--src/legacy.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/legacy.c b/src/legacy.c
index 8360a344..75e13630 100644
--- a/src/legacy.c
+++ b/src/legacy.c
@@ -242,4 +242,9 @@ char *string_to_char(ssh_string str){
int ssh_accept(ssh_session session) {
return ssh_handle_key_exchange(session);
}
+
+int channel_write_stderr(ssh_channel channel, const void *data, uint32_t len) {
+ return ssh_channel_write(channel, data, len);
+}
+
#endif /* WITH_SERVER */