aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/microhttpd/connection.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index 5c874d99..f6c1dbb5 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -924,12 +924,12 @@ MHD_lookup_connection_value (struct MHD_Connection *connection,
924 const char *value; 924 const char *value;
925 925
926 value = NULL; 926 value = NULL;
927 MHD_lookup_connection_value_n (connection, 927 (void) MHD_lookup_connection_value_n (connection,
928 kind, 928 kind,
929 key, 929 key,
930 (NULL == key) ? 0 : strlen(key), 930 (NULL == key) ? 0 : strlen(key),
931 &value, 931 &value,
932 NULL); 932 NULL);
933 return value; 933 return value;
934} 934}
935 935
@@ -1811,9 +1811,9 @@ build_header_response (struct MHD_Connection *connection)
1811 simply only force adding a content-length header if this 1811 simply only force adding a content-length header if this
1812 is not a 'connect' or if the response is not empty 1812 is not a 'connect' or if the response is not empty
1813 (which is kind of more sane, because if some crazy 1813 (which is kind of more sane, because if some crazy
1814 application did return content with a 2xx status code, 1814 application did return content with a 2xx status code,
1815 then having a content-length might again be a good idea). 1815 then having a content-length might again be a good idea).
1816 1816
1817 Note that the change from 'SHOULD NOT' to 'MUST NOT' is 1817 Note that the change from 'SHOULD NOT' to 'MUST NOT' is
1818 a recent development of the HTTP 1.1 specification. 1818 a recent development of the HTTP 1.1 specification.
1819 */ 1819 */