1
0
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:
Laurent MONIN 2006-01-10 23:36:06 +01:00 committed by Laurent MONIN
parent 9b88da873a
commit 88de36b8d2

View File

@ -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);