浏览代码

clarify what is happening

Christian Grothoff 11 月之前
父节点
当前提交
42e9cf63a0
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/include/microhttpd2_main.h.in

+ 2 - 2
src/include/microhttpd2_main.h.in

@@ -1476,10 +1476,10 @@ MHD_response_from_callback (enum MHD_HTTP_StatusCode sc,
  *               needs to be valid while the response is used
  * @param free_cb the callback to free any allocated data, called
  *                when response is being destroyed, can be NULL
- *                to skip the free/cleanup callback
+ *                to skip the free/cleanup callback;
  * @param free_cb_cls the parameter for @a free_cb
  * @return NULL on error (i.e. invalid arguments, out of memory)
- * FIXME: Call free callback on error?
+ *   on error, @a free_cb is NOT called
  * @ingroup response
  */
 MHD_EXTERN_ struct MHD_Response *