Unidiff1 files changed, 1 insertions, 1 deletions
|
diff --git a/html.c b/html.c index 33a956f..76fa6c4 100644 --- a/ html.c+++ b/ html.c |
|
@@ -153,17 +153,17 @@ void html_fileperm(unsigned short mode) |
153 | } |
153 | } |
154 | |
154 | |
155 | void html_filemode(unsigned short mode) |
155 | void html_filemode(unsigned short mode) |
156 | { |
156 | { |
157 | if (S_ISDIR(mode)) |
157 | if (S_ISDIR(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)) |
161 | else if (S_ISGITLINK(mode)) |
162 | html("m"); |
162 | html("m"); |
163 | else |
163 | else |
164 | html("-"); |
164 | html("-"); |
165 | html_fileperm(mode >> 6); |
165 | html_fileperm(mode >> 6); |
166 | html_fileperm(mode >> 3); |
166 | html_fileperm(mode >> 3); |
167 | html_fileperm(mode); |
167 | html_fileperm(mode); |
168 | } |
168 | } |
169 | |
169 | |
|