Don't write to stdin. - geomyidae - A small C-based gopherd.
Log
Files
Refs
README
LICENSE
---
commit 8cf862822a3138e0e80e24af198d5a0bab6a8989
parent 59985412850ecb1837a7518b7de08ed790c06e03
Author: Christoph Lohmann <20h@r-36.net>
Date:   Thu, 24 Nov 2016 22:30:42 +0100

Don't write to stdin.

Diffstat:
  main.c                              |       2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
---
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));