geomyidae

A small C-based gopherd. (gopher://bitreich.org/1/scm/geomyidae)
git clone git://r-36.net/geomyidae
Log | Files | Refs | README | LICENSE

commit 8b9629bd2a0dae917cbe7e7db44417afc28064f6
parent 1f4c222dd84b3f7ee0fa068a21a50fcf47104000
Author: Christoph Lohmann <20h@r-36.net>
Date:   Sun,  9 Oct 2022 22:11:27 +0200

Make mtime access in dir listing compatible to other platforms but linux.

Diffstat:
Mhandlr.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/handlr.c b/handlr.c @@ -71,7 +71,7 @@ handledir(int sock, char *path, char *port, char *base, char *args, *type->type, dirent[i]->d_name, humansize(st.st_size), - humantime(&(st.st_mtim.tv_sec)), + humantime(&(st.st_mtime)), e, ohost, port); free(file); free(dirent[i]);