Explorar o código

-clarify comment

Christian Grothoff %!s(int64=11) %!d(string=hai) anos
pai
achega
def7c593ea
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/microhttpd/connection.c

+ 1 - 1
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,