mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-16 19:20:30 +00:00
mg_get_cookie() signature change
This commit is contained in:
1 parent
f7725f2eeb
commit
4120b9bcc0
3 files changed
+24
-8
No files matched your search
+2
-2
@@ -285,8 +285,8 @@ int mg_get_var(const char *data, size_t data_len,
|
||||
// parameter is not found).
|
||||
// -2 (destination buffer is NULL, zero length or too small to hold the
|
||||
// value).
|
||||
int mg_get_cookie(const struct mg_connection *,
|
||||
const char *cookie_name, char *buf, size_t buf_len);
|
||||
int mg_get_cookie(const char *cookie, const char *var_name,
|
||||
char *buf, size_t buf_len);
|
||||
|
||||
|
||||
// Download data from the remote web server.
|
||||
|
||||
Reference in new issue
Block a user