Author: brane
Date: Sun Jun 7 14:04:25 2026
New Revision: 1935104
Log:
On the serf-195 branch: Update request list docstrings.
* src/outgoing_request.c
(serf__reqlist_push): The requst is added to the tail of the list.
(serf__reqlist_peek): Returns the request at the head of the list.
Modified:
serf/branches/SERF-195/src/outgoing_request.c
Modified: serf/branches/SERF-195/src/outgoing_request.c
==============================================================================
--- serf/branches/SERF-195/src/outgoing_request.c Sun Jun 7 12:45:04
2026 (r1935103)
+++ serf/branches/SERF-195/src/outgoing_request.c Sun Jun 7 14:04:25
2026 (r1935104)
@@ -41,7 +41,7 @@
/*** Request list handling ***/
-/* Push a request to the head of the lined list. */
+/* Push a request to the tail of the lined list. */
void serf__reqlist_push(serf_reqlist_t *list, serf_request_t *request)
{
SERF__REQLIST_assert(request->list == NULL);
@@ -56,7 +56,7 @@ void serf__reqlist_push(serf_reqlist_t *
++list->count;
}
-/* Check if the linked list is not empty (contains a request). */
+/* Return the request at the head of the linked list. */
void serf__reqlist_peek(serf_reqlist_t *list, serf_request_t **requestp)
{
serf_request_t *request = list->head;