From 3586203753f5f405315d1d078e404a59dc973734 Mon Sep 17 00:00:00 2001 From: Evelyn <evelyn@cesanta.com> Date: Mon, 25 Jul 2016 17:36:46 +0100 Subject: [PATCH] Update mg_next_comma_list_entry.md --- docs/c-api/util.h/mg_next_comma_list_entry.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/c-api/util.h/mg_next_comma_list_entry.md b/docs/c-api/util.h/mg_next_comma_list_entry.md index e82d06095..44bca2aea 100644 --- a/docs/c-api/util.h/mg_next_comma_list_entry.md +++ b/docs/c-api/util.h/mg_next_comma_list_entry.md @@ -8,12 +8,12 @@ signature: | --- A helper function for traversing a comma separated list of values. -It returns a list pointer shifted to the next value, or NULL if the end +It returns a list pointer shifted to the next value or NULL if the end of the list found. -Value is stored in val vector. If value has form "x=y", then eq_val -vector is initialized to point to the "y" part, and val vector length +The value is stored in a val vector. If the value has a form "x=y", then eq_val +vector is initialised to point to the "y" part, and val vector length is adjusted to point only to "x". -If list is just a comma separated list of entries, like "aa,bb,cc" then +If the list is just a comma separated list of entries, like "aa,bb,cc" then `eq_val` will contain zero-length string. The purpose of this function is to parse comma separated string without -- GitLab