Don't write to stdin. - geomyidae - A small C-based gopherd. HTML git clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/geomyidae/ DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit 8cf862822a3138e0e80e24af198d5a0bab6a8989 DIR parent 59985412850ecb1837a7518b7de08ed790c06e03 HTML Author: Christoph Lohmann <20h@r-36.net> Date: Thu, 24 Nov 2016 22:30:42 +0100 Don't write to stdin. Diffstat: M main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/main.c b/main.c @@ -388,7 +388,7 @@ main(int argc, char *argv[]) return 1; } } else if(!dofork) { - glfd = 0; + glfd = 1; } memset(&hints, 0, sizeof(hints));