diff options
Diffstat (limited to 'src/daemon/connection.c')
-rw-r--r-- | src/daemon/connection.c | 7 |
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); |