~vcs-imports/libssh/trunk

Viewing all changes in revision 4310.

  • Committer: Andreas Schneider
  • Author(s): Anderson Toshiyuki Sasaki
  • Date: 2018-12-07 16:44:52 UTC
  • Revision ID: git-v1:0f952959664b38ec29d51a16769040d9a0e7e7fa
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>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: