mirror of https://github.com/nealey/eris.git
I hate this directory indexing output less
This commit is contained in:
parent
b4cb8c1e96
commit
6af696b8ec
2
eris.c
2
eris.c
|
@ -420,7 +420,7 @@ serve_idx(int fd, char *path)
|
|||
name = symlink;
|
||||
printf("[LNK] "); /* symlink */
|
||||
} else if (S_ISREG(st.st_mode)) {
|
||||
printf("[ ] %10llu", (unsigned long long)st.st_size);
|
||||
printf("%10llu", (unsigned long long)st.st_size);
|
||||
} else {
|
||||
continue; /* not a file we can provide -> skip */
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue