1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-12-05 01:02:39 +03:00

server: Remove channel_write_stderr.

This commit is contained in:
Andreas Schneider
2010-12-08 10:50:08 +01:00
parent 3ea33f9ab6
commit 038c764055
3 changed files with 1 additions and 21 deletions

View File

@@ -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);
}

View File

@@ -167,8 +167,6 @@ LIBSSH_API int ssh_handle_key_exchange(ssh_session session);
*/
LIBSSH_API void ssh_bind_free(ssh_bind ssh_bind_o);
LIBSSH_API int channel_write_stderr(ssh_channel channel, const void *data, uint32_t len);
/* messages.c */
LIBSSH_API int ssh_message_reply_default(ssh_message msg);