commit 47b76acc97374c3195b5706b475d550908c4d233
parent 3fdf17ec8975c506f6a1d0d91d771f50c1784f9b
Author: Christian Grothoff <christian@grothoff.org>
Date: Mon, 9 Jul 2007 04:23:56 +0000
fix
Diffstat:
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git 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);