diff options
Diffstat (limited to 'html.c')
-rw-r--r-- | html.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -158,10 +158,11 @@ void html_filemode(unsigned short mode) | |||
158 | html("d"); | 158 | html("d"); |
159 | else if (S_ISLNK(mode)) | 159 | else if (S_ISLNK(mode)) |
160 | html("l"); | 160 | html("l"); |
161 | else if (S_ISDIRLNK(mode)) | ||
162 | html("m"); | ||
161 | else | 163 | else |
162 | html("-"); | 164 | html("-"); |
163 | html_fileperm(mode >> 6); | 165 | html_fileperm(mode >> 6); |
164 | html_fileperm(mode >> 3); | 166 | html_fileperm(mode >> 3); |
165 | html_fileperm(mode); | 167 | html_fileperm(mode); |
166 | } | 168 | } |
167 | |||