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 2ebea55275912a6228d36ad4e6715031924fa6dd
parent e84010e9ac00d6d65a94aecef51e45fc397d9099
Author: Christoph Lohmann <20h@r-36.net>
Date:   Fri,  8 Apr 2022 19:06:24 +0200

Fix chroot with new REST behaviour.

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

diff --git a/main.c b/main.c @@ -781,7 +781,7 @@ main(int argc, char *argv[]) perror("chdir"); return 1; } - base = ""; + base = "/"; if (chroot(".") < 0) { perror("chroot"); return 1;