mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05:00
[ftp] enum ftp_file_type -> ftp_file_type_T
This commit is contained in:
parent
04b2dce53f
commit
8f59249d9e
@ -220,7 +220,7 @@ parse_ftp_unix_response(struct ftp_file_info *info, char *src, int len)
|
||||
|
||||
/* Decide the file type. */
|
||||
{
|
||||
enum ftp_file_type type = *src++;
|
||||
ftp_file_type_T type = *src++;
|
||||
|
||||
switch (type) {
|
||||
case FTP_FILE_PLAINFILE:
|
||||
|
@ -18,9 +18,11 @@ enum ftp_file_type {
|
||||
FTP_FILE_UNKNOWN = '?',
|
||||
};
|
||||
|
||||
typedef char ftp_file_type_T;
|
||||
|
||||
/* Information about one file in a directory listing. */
|
||||
struct ftp_file_info {
|
||||
enum ftp_file_type type; /* File type */
|
||||
ftp_file_type_T type; /* File type */
|
||||
struct string name; /* File name */
|
||||
struct string symlink; /* Link to which file points */
|
||||
off_t size; /* File size. -1 if unknown. */
|
||||
|
Loading…
Reference in New Issue
Block a user