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:
Aris Adamantiadis
2015-07-07 21:06:47 +02:00
committed by Andreas Schneider
parent bbe437dbb1
commit 0701745cbc
3 changed files with 5 additions and 4 deletions

View File

@@ -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.
*