From 47b76acc97374c3195b5706b475d550908c4d233 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 9 Jul 2007 04:23:56 +0000 Subject: fix --- src/daemon/connection.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/daemon') 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) { loop since we need to be able to inspect the *next* header line (in case it starts with a space...) */ + last = line; } if (last != NULL) { MHD_connection_add_header(connection, - last, - colon, - MHD_HEADER_KIND); + last, + colon, + MHD_HEADER_KIND); free(last); } MHD_parse_cookie_header(connection); -- cgit v1.2.3