]> granicus.if.org Git - curl/commit
ssh: fix Condition '!status' is always true
authorDaniel Stenberg <daniel@haxx.se>
Thu, 28 Feb 2019 14:35:58 +0000 (15:35 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 1 Mar 2019 08:24:45 +0000 (09:24 +0100)
commit14c95f8101f899b44da381bfe74668008093322b
tree74b823f971622e9a0192e4acfa928162b455bca6
parent64d598d91d1b69305e17fcb0b7cde15f5a50aff2
ssh: fix Condition '!status' is always true

in the same sftp_done function in both SSH backends. Simplify them
somewhat.

Pointed out by Codacy.

Closes #3628
lib/ssh-libssh.c
lib/ssh.c