diff options
author | mutantturkey <crazycal00@gmail.com> | 2011-01-02 12:59:31 -0500 |
---|---|---|
committer | mutantturkey <crazycal00@gmail.com> | 2011-01-02 12:59:31 -0500 |
commit | fda5bdf11c8835de819537ead1d99adb0cabcb0a (patch) | |
tree | a22613be58578fdcb508e0ab2bae1618a60831d8 | |
parent | b3c2fc344e8624f18b969d0839acf58879e3c06d (diff) |
whitespace cleanup
-rw-r--r-- | shttpd.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -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. */ |