Vanishing the last SO_REUSEADDR traces. - geomyidae - A small C-based gopherd.
git clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/geomyidae/
Log
Files
Refs
Tags
README
LICENSE
---
commit 136e096d34f8f7751e8b9d0f10c0c51c223f4894
parent 0e66ab01eb5b38b5013f75d22e4ca0779c8d45a0
Author: Christoph Lohmann <20h@r-36.net>
Date:   Tue,  8 Mar 2011 14:09:38 +0100

Vanishing the last SO_REUSEADDR traces.

Diffstat:
  M main.c                              |       2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/main.c b/main.c
@@ -255,7 +255,7 @@ main(int argc, char *argv[])
         struct addrinfo hints, *ai, *rp;
         struct sockaddr_storage clt;
         socklen_t cltlen;
-        int sock, opt, dofork;
+        int sock, dofork;
         char *port, *base, clienth[NI_MAXHOST], clientp[NI_MAXSERV];
         char *user, *group, *bindip, *ohost, *sport;
         struct passwd *us;