From 86ba931697790d4da2515f4457ebfb3f20b43860 Mon Sep 17 00:00:00 2001 From: Epoch Qwert Date: Tue, 30 Dec 2014 07:25:39 -0600 Subject: all those .c changes were mostly fixes of warnings for the change in rebuild.sh being changed to use -Wall. gethostbyname was almost completely rewritten to work better with ipv6 for gopherd.sh gopherd.sh was rewritten to use gethostbyname instead of dig and to cut out any link-local interface indicators from the output of hop0 and to ignore an error if ipA -> hostname -> ipB causes ipA to be not the same as ipB. Don't remember if there's anything else. --- src/libexec/httpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libexec/httpd.c') diff --git a/src/libexec/httpd.c b/src/libexec/httpd.c index 22d9b2b..812e051 100644 --- a/src/libexec/httpd.c +++ b/src/libexec/httpd.c @@ -4,6 +4,7 @@ #include #include #include +#include #define VHOST_ROOT "/var/www/vhosts" #define SITES_ROOT "/var/www/sites" @@ -19,7 +20,6 @@ int main(int argc,char *argv[]) { int fd; char *name[10]; int s,n; - short in; char *method; char *page; char *version; -- cgit v1.2.3