mirror of
https://github.com/wiiu-env/ftpiiu_plugin.git
synced 2024-11-17 18:29:19 +01:00
Add more file types to list
This commit is contained in:
parent
717e4cfdc0
commit
c2c82919a3
@ -1885,8 +1885,13 @@ list_transfer(ftp_session_t *session)
|
|||||||
session->buffersize =
|
session->buffersize =
|
||||||
sprintf(session->buffer,
|
sprintf(session->buffer,
|
||||||
"%crwxrwxrwx 1 3DS 3DS %llu ",
|
"%crwxrwxrwx 1 3DS 3DS %llu ",
|
||||||
S_ISDIR(st.st_mode) ? 'd' :
|
S_ISREG(st.st_mode) ? '-' :
|
||||||
S_ISLNK(st.st_mode) ? 'l' : '-',
|
S_ISDIR(st.st_mode) ? 'd' :
|
||||||
|
S_ISLNK(st.st_mode) ? 'l' :
|
||||||
|
S_ISCHR(st.st_mode) ? 'c' :
|
||||||
|
S_ISBLK(st.st_mode) ? 'b' :
|
||||||
|
S_ISFIFO(st.st_mode) ? 'p' :
|
||||||
|
S_ISSOCK(st.st_mode) ? 's' : '?',
|
||||||
(unsigned long long)st.st_size);
|
(unsigned long long)st.st_size);
|
||||||
|
|
||||||
t_mtime = mtime;
|
t_mtime = mtime;
|
||||||
|
Loading…
Reference in New Issue
Block a user