HomePhabricator

sftp: Set sftp error code when fail occurs

Authored by Anderson Toshiyuki Sasaki <ansasaki@redhat.com> on Dec 4 2018, 3:05 PM.

Description

sftp: Set sftp error code when fail occurs

When an operation fails in sftp subsystem, set the sftp error, so that
it can be obtained by sftp_get_error().

Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>

Details

Committed
asnDec 7 2018, 5:44 PM
Parents
rLIBSSH8e69d435efb4: channels: Set error state when closed channel is read
Branches
Unknown
Tags
Unknown