Commit 962c72dd authored by Niels Möller's avatar Niels Möller
Browse files

Deleted the posixperms field, and replaced it with two

fields, has_permissions and permissions. That way we don't need
to compare (unsigned) mode_t:s to the special constant -1.

Rev: src/sftp/dc.h:1.3
parent d6413e5d
......@@ -73,7 +73,9 @@ int lsftp_dc_numglob(const char** globdata);
struct lsftp_dc_s {
char* name;
int hash;
mode_t posixperms;
/* Set if we know the permissions */
int has_permissions;
mode_t permissions;
};
......
Markdown is supported
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