Skip to content

Commit 91c37c6

Browse files
author
grothoff
committed
spacing
git-svn-id: https://gnunet.org/svn/libmicrohttpd@22734 140774ce-b5e7-0310-ab8b-a85725594a96
1 parent 9edd9c3 commit 91c37c6

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

src/daemon/connection.c

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
This file is part of libmicrohttpd
3-
(C) 2007, 2008, 2009, 2010 Daniel Pittman and Christian Grothoff
3+
(C) 2007, 2008, 2009, 2010, 2011, 2012 Daniel Pittman and Christian Grothoff
44
55
This library is free software; you can redistribute it and/or
66
modify it under the terms of the GNU Lesser General Public
@@ -1661,6 +1661,7 @@ process_header_line (struct MHD_Connection *connection, char *line)
16611661
return MHD_YES;
16621662
}
16631663

1664+
16641665
/**
16651666
* Process a header value that spans multiple lines.
16661667
* The previous line(s) are in connection->last.
@@ -1726,6 +1727,7 @@ process_broken_line (struct MHD_Connection *connection,
17261727
return MHD_YES;
17271728
}
17281729

1730+
17291731
/**
17301732
* Parse the various headers; figure out the size
17311733
* of the upload and make sure the headers follow

src/daemon/daemon.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
This file is part of libmicrohttpd
3-
(C) 2007, 2008, 2009, 2010 Daniel Pittman and Christian Grothoff
3+
(C) 2007, 2008, 2009, 2010, 2011, 2012 Daniel Pittman and Christian Grothoff
44
55
This library is free software; you can redistribute it and/or
66
modify it under the terms of the GNU Lesser General Public
@@ -49,7 +49,7 @@
4949
* Default connection limit.
5050
*/
5151
#ifndef WINDOWS
52-
#define MHD_MAX_CONNECTIONS_DEFAULT FD_SETSIZE -4
52+
#define MHD_MAX_CONNECTIONS_DEFAULT FD_SETSIZE - 4
5353
#else
5454
#define MHD_MAX_CONNECTIONS_DEFAULT FD_SETSIZE
5555
#endif

src/daemon/internal.h

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
This file is part of libmicrohttpd
3-
(C) 2007, 2008, 2009, 2010 Daniel Pittman and Christian Grothoff
3+
(C) 2007, 2008, 2009, 2010, 2011, 2012 Daniel Pittman and Christian Grothoff
44
55
This library is free software; you can redistribute it and/or
66
modify it under the terms of the GNU Lesser General Public
@@ -181,6 +181,7 @@ struct MHD_HTTP_Header
181181

182182
};
183183

184+
184185
/**
185186
* Representation of a response.
186187
*/
@@ -263,6 +264,7 @@ struct MHD_Response
263264

264265
};
265266

267+
266268
/**
267269
* States in a state machine for a connection.
268270
*
@@ -407,6 +409,7 @@ enum MHD_CONNECTION_STATE
407409
*/
408410
#define DEBUG_STATES MHD_NO
409411

412+
410413
#if HAVE_MESSAGES
411414
#if DEBUG_STATES
412415
const char *
@@ -756,6 +759,7 @@ typedef size_t (*UnescapeCallback)(void *cls,
756759
struct MHD_Connection *conn,
757760
char *uri);
758761

762+
759763
/**
760764
* State kept for each MHD daemon.
761765
*/
@@ -1058,6 +1062,7 @@ struct MHD_Daemon
10581062
(element)->next = NULL; \
10591063
(element)->prev = NULL; } while (0)
10601064

1065+
10611066
/**
10621067
* Equivalent to time(NULL) but tries to use some sort of monotonic
10631068
* clock that isn't affected by someone setting the system real time

0 commit comments

Comments
 (0)