Skip to content
Commit 67fa2963 authored by Harald Sitter's avatar Harald Sitter 🐧
Browse files

[sftp] simplify isDir handling

- new macro KSFTP_ISDIR akin to S_ISDIR checks if a given attributes is
  a directory
- ternary mutate dir||file error

this has the advantagous side effect of all commands now having an error()
or finished() call at the function end making it clear that we always
finished somehow
parent 076fdbfc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment