Commit 5ed99911 authored by Evelyn's avatar Evelyn Committed by GitHub

Update mg_get_http_var.md

parent dc2527c1
...@@ -7,10 +7,10 @@ signature: | ...@@ -7,10 +7,10 @@ signature: |
size_t dst_len); size_t dst_len);
--- ---
Fetch an HTTP form variable. Fetches a HTTP form variable.
Fetch a variable `name` from a `buf` into a buffer specified by Fetches a variable `name` from a `buf` into a buffer specified by
`dst`, `dst_len`. Destination is always zero-terminated. Return length `dst`, `dst_len`. The destination is always zero-terminated. Returns the length
of a fetched variable. If not found, 0 is returned. `buf` must be of a fetched variable. If not found, 0 is returned. `buf` must be
valid url-encoded buffer. If destination is too small, `-1` is returned. valid url-encoded buffer. If destination is too small, `-1` is returned.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment