Sfoglia il codice sorgente

MHD_create_response_from_buffer_copy(): fixed doxy

Evgeny Grin (Karlson2k) 3 anni fa
parent
commit
4fc1bbfd5b
2 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  1. 2 2
      src/include/microhttpd.h
  2. 2 2
      src/microhttpd/response.c

+ 2 - 2
src/include/microhttpd.h

@@ -3696,8 +3696,8 @@ MHD_create_response_from_buffer_static (size_t size,
 
 
 /**
- * Create a response object with the content of provided statically allocated
- * buffer used as the response body.
+ * Create a response object with the content of provided temporal buffer
+ * used as the response body.
  *
  * An internal copy of the buffer will be made automatically, so buffer have
  * to be valid only during the call of this function (as a typical example:

+ 2 - 2
src/microhttpd/response.c

@@ -1386,8 +1386,8 @@ MHD_create_response_from_buffer_static (size_t size,
 
 
 /**
- * Create a response object with the content of provided statically allocated
- * buffer used as the response body.
+ * Create a response object with the content of provided temporal buffer
+ * used as the response body.
  *
  * An internal copy of the buffer will be made automatically, so buffer have
  * to be valid only during the call of this function (as a typical example: