commit def7c593ead5a6be8129f22b4a554badd2be3124
parent 6ee22efc8bef57932da02c5d97204cf42395caee
Author: Christian Grothoff <christian@grothoff.org>
Date: Mon, 8 Dec 2014 13:49:07 +0000
-clarify comment
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
@@ -686,7 +686,7 @@ build_header_response (struct MHD_Connection *connection)
reason_phrase);
off = strlen (code);
/* estimate size */
- size = off + 2; /* extra \r\n at the end */
+ size = off + 2; /* +2 for extra "\r\n" at the end */
kind = MHD_HEADER_KIND;
if ( (0 == (connection->daemon->options & MHD_SUPPRESS_DATE_NO_CLOCK)) &&
(NULL == MHD_get_response_header (connection->response,