mirror of
https://github.com/rkd77/elinks.git
synced 2024-09-29 03:17:53 -04:00
Use mode_t and mode macros everywhere.
This commit is contained in:
parent
9b88da873a
commit
88de36b8d2
@ -1034,7 +1034,7 @@ display_dir_entry(struct cache_entry *cached, off_t *pos, int *tries,
|
||||
add_char_to_string(&string, ftp_info->type);
|
||||
|
||||
if (ftp_info->permissions) {
|
||||
int p = ftp_info->permissions;
|
||||
mode_t p = ftp_info->permissions;
|
||||
|
||||
#define FTP_PERM(perms, buffer, flag, index, id) \
|
||||
if ((perms) & (flag)) (buffer)[(index)] = (id);
|
||||
|
Loading…
Reference in New Issue
Block a user