소스 검색

Merge pull request #1153 from niklasf/mg-get-cookie-docs

Fix mg_get_cookie() parameter description
bel2125 2 년 전
부모
커밋
989a8d956f
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|