diff --git a/httpd/axhttpd.c b/httpd/axhttpd.c index 35d36f64c..fb7ad3d84 100644 --- a/httpd/axhttpd.c +++ b/httpd/axhttpd.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2007, Cameron Rich + * Copyright (c) Cameron Rich * * All rights reserved. * diff --git a/httpd/htpasswd.c b/httpd/htpasswd.c index 1a7a2311f..d1fbe32bf 100644 --- a/httpd/htpasswd.c +++ b/httpd/htpasswd.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2007, Cameron Rich + * Copyright (c) Cameron Rich * * All rights reserved. * diff --git a/httpd/proc.c b/httpd/proc.c index 78fc7ae28..c90fa9790 100644 --- a/httpd/proc.c +++ b/httpd/proc.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2007-2008, Cameron Rich + * Copyright (c) Cameron Rich * * All rights reserved. * @@ -571,8 +571,8 @@ static void proccgi(struct connstruct *cn) } #ifdef CONFIG_HTTP_VERBOSE - printf("[CGI]: %s:/%s\n", cn->is_ssl ? "https" : "http", cn->filereq); - TTY_FLUSH(); + printf("[CGI]: %s:/%s\n", cn->is_ssl ? "https" : "http", cn->filereq); + TTY_FLUSH(); #endif /* win32 cgi is a bit too painful */ @@ -1181,17 +1181,16 @@ static void send_error(struct connstruct *cn, int err) break; } - snprintf(buf, MAXREQUESTLENGTH, "HTTP/1.1 %d %s\n" - "Content-Type: text/html\n" - "Cache-Control: no-cache,no-store\n" - "Connection: close\n\n" - "\n
\n