mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-07 10:40:28 +09:00
channels: Move ssh_channel_write_stderr out of server-only
Signed-off-by: Aris Adamantiadis <aris@0xbadc0de.be> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
committed by
Andreas Schneider
parent
bbe437dbb1
commit
0701745cbc
@@ -3192,7 +3192,6 @@ void ssh_channel_set_counter(ssh_channel channel,
|
||||
}
|
||||
}
|
||||
|
||||
#if WITH_SERVER
|
||||
/**
|
||||
* @brief Blocking write on a channel stderr.
|
||||
*
|
||||
@@ -3210,6 +3209,8 @@ int ssh_channel_write_stderr(ssh_channel channel, const void *data, uint32_t len
|
||||
return channel_write_common(channel, data, len, 1);
|
||||
}
|
||||
|
||||
#if WITH_SERVER
|
||||
|
||||
/**
|
||||
* @brief Open a TCP/IP reverse forwarding channel.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user