aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2007-07-09 04:23:56 +0000
committerChristian Grothoff <christian@grothoff.org>2007-07-09 04:23:56 +0000
commit47b76acc97374c3195b5706b475d550908c4d233 (patch)
tree16dc42bc99d808fb6cd8afaa9c0619b1643c5446
parent3fdf17ec8975c506f6a1d0d91d771f50c1784f9b (diff)
downloadlibmicrohttpd-47b76acc97374c3195b5706b475d550908c4d233.tar.gz
libmicrohttpd-47b76acc97374c3195b5706b475d550908c4d233.zip
fix
-rw-r--r--src/daemon/connection.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/daemon/connection.c b/src/daemon/connection.c
index 0df31992..d1a8121a 100644
--- a/src/daemon/connection.c
+++ b/src/daemon/connection.c
@@ -504,12 +504,13 @@ MHD_parse_connection_headers(struct MHD_Connection * connection) {
504 loop since we need to be able to inspect 504 loop since we need to be able to inspect
505 the *next* header line (in case it starts 505 the *next* header line (in case it starts
506 with a space...) */ 506 with a space...) */
507 last = line;
507 } 508 }
508 if (last != NULL) { 509 if (last != NULL) {
509 MHD_connection_add_header(connection, 510 MHD_connection_add_header(connection,
510 last, 511 last,
511 colon, 512 colon,
512 MHD_HEADER_KIND); 513 MHD_HEADER_KIND);
513 free(last); 514 free(last);
514 } 515 }
515 MHD_parse_cookie_header(connection); 516 MHD_parse_cookie_header(connection);