Browse Source

Fix mg_get_cookie() parameter description

Niklas Fiekas 2 years ago
parent
commit
180db0fcaf
1 changed files with 2 additions and 2 deletions
  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|