commit be822f1e93b1511108eb9c8b930c0b32d2aeb8af
parent a232740396820ffb48f240f87db4b39735ad2b52
Author: Christian Grothoff <christian@grothoff.org>
Date: Tue, 17 Jul 2012 21:57:33 +0000
spacing
Diffstat:
3 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/src/daemon/connection.c b/src/daemon/connection.c
@@ -1,6 +1,6 @@
/*
This file is part of libmicrohttpd
- (C) 2007, 2008, 2009, 2010 Daniel Pittman and Christian Grothoff
+ (C) 2007, 2008, 2009, 2010, 2011, 2012 Daniel Pittman and Christian Grothoff
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@ -1661,6 +1661,7 @@ process_header_line (struct MHD_Connection *connection, char *line)
return MHD_YES;
}
+
/**
* Process a header value that spans multiple lines.
* The previous line(s) are in connection->last.
@@ -1726,6 +1727,7 @@ process_broken_line (struct MHD_Connection *connection,
return MHD_YES;
}
+
/**
* Parse the various headers; figure out the size
* of the upload and make sure the headers follow
diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c
@@ -1,6 +1,6 @@
/*
This file is part of libmicrohttpd
- (C) 2007, 2008, 2009, 2010 Daniel Pittman and Christian Grothoff
+ (C) 2007, 2008, 2009, 2010, 2011, 2012 Daniel Pittman and Christian Grothoff
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@ -49,7 +49,7 @@
* Default connection limit.
*/
#ifndef WINDOWS
-#define MHD_MAX_CONNECTIONS_DEFAULT FD_SETSIZE -4
+#define MHD_MAX_CONNECTIONS_DEFAULT FD_SETSIZE - 4
#else
#define MHD_MAX_CONNECTIONS_DEFAULT FD_SETSIZE
#endif
diff --git a/src/daemon/internal.h b/src/daemon/internal.h
@@ -1,6 +1,6 @@
/*
This file is part of libmicrohttpd
- (C) 2007, 2008, 2009, 2010 Daniel Pittman and Christian Grothoff
+ (C) 2007, 2008, 2009, 2010, 2011, 2012 Daniel Pittman and Christian Grothoff
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@ -181,6 +181,7 @@ struct MHD_HTTP_Header
};
+
/**
* Representation of a response.
*/
@@ -263,6 +264,7 @@ struct MHD_Response
};
+
/**
* States in a state machine for a connection.
*
@@ -407,6 +409,7 @@ enum MHD_CONNECTION_STATE
*/
#define DEBUG_STATES MHD_NO
+
#if HAVE_MESSAGES
#if DEBUG_STATES
const char *
@@ -756,6 +759,7 @@ typedef size_t (*UnescapeCallback)(void *cls,
struct MHD_Connection *conn,
char *uri);
+
/**
* State kept for each MHD daemon.
*/
@@ -1058,6 +1062,7 @@ struct MHD_Daemon
(element)->next = NULL; \
(element)->prev = NULL; } while (0)
+
/**
* Equivalent to time(NULL) but tries to use some sort of monotonic
* clock that isn't affected by someone setting the system real time