diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-04-23 19:32:43 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-04-23 19:32:43 +0200 |
commit | c3ac4b58deffa74cb49418518db4a5c9f02ebb85 (patch) | |
tree | 273526796006944b6cfc1d99a6249a132fd4b94f /src/microhttpd/connection.c | |
parent | 8928b32ebce4932b03c1ce0068e50c440ea54cbf (diff) | |
download | libmicrohttpd-c3ac4b58deffa74cb49418518db4a5c9f02ebb85.tar.gz libmicrohttpd-c3ac4b58deffa74cb49418518db4a5c9f02ebb85.zip |
indent fix
Diffstat (limited to 'src/microhttpd/connection.c')
-rw-r--r-- | src/microhttpd/connection.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c index 8b136b83..0b040290 100644 --- a/src/microhttpd/connection.c +++ b/src/microhttpd/connection.c | |||
@@ -1646,9 +1646,9 @@ build_header_response (struct MHD_Connection *connection) | |||
1646 | simply only force adding a content-length header if this | 1646 | simply only force adding a content-length header if this |
1647 | is not a 'connect' or if the response is not empty | 1647 | is not a 'connect' or if the response is not empty |
1648 | (which is kind of more sane, because if some crazy | 1648 | (which is kind of more sane, because if some crazy |
1649 | application did return content with a 2xx status code, | 1649 | application did return content with a 2xx status code, |
1650 | then having a content-length might again be a good idea). | 1650 | then having a content-length might again be a good idea). |
1651 | 1651 | ||
1652 | Note that the change from 'SHOULD NOT' to 'MUST NOT' is | 1652 | Note that the change from 'SHOULD NOT' to 'MUST NOT' is |
1653 | a recent development of the HTTP 1.1 specification. | 1653 | a recent development of the HTTP 1.1 specification. |
1654 | */ | 1654 | */ |
@@ -2886,7 +2886,7 @@ parse_connection_headers (struct MHD_Connection *connection) | |||
2886 | MHD_DLOG (connection->daemon, | 2886 | MHD_DLOG (connection->daemon, |
2887 | "Failed to parse `Content-Length' header. Closing connection.\n"); | 2887 | "Failed to parse `Content-Length' header. Closing connection.\n"); |
2888 | #endif | 2888 | #endif |
2889 | CONNECTION_CLOSE_ERROR (connection, | 2889 | CONNECTION_CLOSE_ERROR (connection, |
2890 | NULL); | 2890 | NULL); |
2891 | return; | 2891 | return; |
2892 | } | 2892 | } |