mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-11 18:50:28 +09:00
channels: Reformat ssh_channel_read_nonblocking()
Fixes T188 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
@@ -2973,8 +2973,11 @@ int ssh_channel_read_timeout(ssh_channel channel,
|
|||||||
*
|
*
|
||||||
* @see ssh_channel_is_eof()
|
* @see ssh_channel_is_eof()
|
||||||
*/
|
*/
|
||||||
int ssh_channel_read_nonblocking(ssh_channel channel, void *dest, uint32_t count,
|
int ssh_channel_read_nonblocking(ssh_channel channel,
|
||||||
int is_stderr) {
|
void *dest,
|
||||||
|
uint32_t count,
|
||||||
|
int is_stderr)
|
||||||
|
{
|
||||||
ssh_session session;
|
ssh_session session;
|
||||||
int to_read;
|
int to_read;
|
||||||
int rc;
|
int rc;
|
||||||
|
|||||||
Reference in New Issue
Block a user