aboutsummaryrefslogtreecommitdiff
path: root/src/channels.c
diff options
context:
space:
mode:
authorAnderson Toshiyuki Sasaki <ansasaki@redhat.com>2020-06-08 12:34:53 +0200
committerAndreas Schneider <asn@cryptomilk.org>2020-06-22 13:58:52 +0200
commitb0518552f19fcf2da3dd265d892205dac23a1b8e (patch)
treea2b69970501875c631f322e16a449b870d18eb4d /src/channels.c
parent1694606e12d8950b003ff86248883732ef05e00c (diff)
downloadlibssh-b0518552f19fcf2da3dd265d892205dac23a1b8e.tar.gz
libssh-b0518552f19fcf2da3dd265d892205dac23a1b8e.tar.xz
libssh-b0518552f19fcf2da3dd265d892205dac23a1b8e.zip
examples: Tolerate incomplete writes in exec example
Previously, the exec example would fail if it could not write the whole read buffer to stdout. With this changes, the exec example will be able to write parts of the buffer until the whole buffer is written. This makes the exec example to run when the stdout buffer is small. Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'src/channels.c')
0 files changed, 0 insertions, 0 deletions