浏览代码

Fix mg_get_cookie() parameter description

Niklas Fiekas 2 年之前
父节点
当前提交
180db0fcaf
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      docs/api/mg_get_cookie.md

+ 2 - 2
docs/api/mg_get_cookie.md

@@ -6,8 +6,8 @@
 
 | Parameter | Type | Description |
 | :--- | :--- | :--- |
-|**`cookie`**|`const char *`|The cookie name|
-|**`var_name`**|`const char *`|The variable name|
+|**`cookie`**|`const char *`|The unparsed cookie header|
+|**`var_name`**|`const char *`|The cookie name|
 |**`buf`**|`char *`|The buffer where to store the contents of the cookie|
 |**`buf_len`**|`size_t`|The length of the cookie buffer, including the terminating NUL|