aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormutantturkey <crazycal00@gmail.com>2011-01-02 12:59:31 -0500
committermutantturkey <crazycal00@gmail.com>2011-01-02 12:59:31 -0500
commitfda5bdf11c8835de819537ead1d99adb0cabcb0a (patch)
treea22613be58578fdcb508e0ab2bae1618a60831d8
parentb3c2fc344e8624f18b969d0839acf58879e3c06d (diff)
whitespace cleanup
-rw-r--r--shttpd.c8
1 files changed, 0 insertions, 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.
*/