From fda5bdf11c8835de819537ead1d99adb0cabcb0a Mon Sep 17 00:00:00 2001 From: mutantturkey Date: Sun, 2 Jan 2011 12:59:31 -0500 Subject: whitespace cleanup --- shttpd.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/shttpd.c b/shttpd.c index 2d4e3d2..7d79082 100644 --- a/shttpd.c +++ b/shttpd.c @@ -217,8 +217,6 @@ struct connection unsigned int total_sent; /* header + body = total, for logging */ }; - - struct mime_mapping { char *extension, *mimetype; @@ -229,7 +227,6 @@ size_t mime_map_size = 0; size_t longest_ext = 0; - /* If a connection is idle for idletime seconds or more, it gets closed and * removed from the connlist. Set to 0 to remove the timeout * functionality. @@ -296,8 +293,6 @@ static const char *default_extension_map[] = { static const char default_mimetype[] = "application/octet-stream"; - - /* Connection or Keep-Alive field, depending on conn_close. */ #define keep_alive(conn) ((conn)->conn_close ? \ "Connection: close\r\n" : keep_alive_field) @@ -308,7 +303,6 @@ static void poll_send_header(struct connection *conn); static void poll_send_reply(struct connection *conn); - /* --------------------------------------------------------------------------- * close that dies on error. */ @@ -329,8 +323,6 @@ static void *xmalloc(const size_t size) return ptr; } - - /* --------------------------------------------------------------------------- * realloc() that errx()s if it can't allocate. */ -- cgit v1.2.1