libssh2: return CURLE_UPLOAD_FAILED on failure to upload

This brings its in sync with the error code returned by the
libssh backend.

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
This commit is contained in:
Nikos Mavrogiannopoulos 2017-11-05 15:06:30 +01:00 committed by Daniel Stenberg
parent 75427291e5
commit 38aef6dc45
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
2 changed files with 5 additions and 1 deletions

View file

@ -37,7 +37,7 @@ for ssh upload test
disable
</valgrind>
<errorcode>
79
25
</errorcode>
</verify>