commit 664b8c8f77d12ac2691bbfbbb57bb76e4e21de51
parent d10b0b3dcf1beeda584dc741c8834bba9ae18c54
Author: Evgeny Grin (Karlson2k) <k2k@drgrin.dev>
Date: Sat, 4 Jul 2026 11:34:28 +0200
Updated doxy for read_response_file()
Diffstat:
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/mhd2/stream_process_reply.c b/src/mhd2/stream_process_reply.c
@@ -1085,16 +1085,16 @@ preprocess_dcc_action (struct MHD_Connection *restrict c,
/**
- * Read next portion of the response file to the buffer, based on information
- * about amount of response content position.
- * Handle file read errors, does NOT update response position (caller
- * should do so on success).
+ * Read the next portion of the response file into the buffer.
+ * The read starts at the response file offset plus the current response
+ * content read position. Handles file read errors, does NOT update the
+ * response content read position; the caller must update it on success.
* @param c the stream to use
* @param r the response to use
- * @param buf_size the size of the @a buf buffer
+ * @param buf_size the size of the @p buf buffer
* @param[out] buf the buffer to fill with the file data
* @param[out] size_filled the pointer to variable to get the size of the data
- * actually put to the @a buffer
+ * actually put to the @p buf buffer
* @return 'true' if succeed (size_filled is updated),
* 'false' if failed (the stream is closed)
*/