mirror of
https://github.com/wiiu-env/ftpiiu_plugin.git
synced 2024-12-23 03:11:49 +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 =
|
||||
sprintf(session->buffer,
|
||||
"%crwxrwxrwx 1 3DS 3DS %llu ",
|
||||
S_ISREG(st.st_mode) ? '-' :
|
||||
S_ISDIR(st.st_mode) ? 'd' :
|
||||
S_ISLNK(st.st_mode) ? 'l' : '-',
|
||||
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);
|
||||
|
||||
t_mtime = mtime;
|
||||
|
Loading…
Reference in New Issue
Block a user