mg_get_cookie() signature change

This commit is contained in:
Sergey Lyubka committed 2013-04-11 12:49:41 -07:00
1 parent f7725f2eeb
commit 4120b9bcc0
3 files changed
+24 -8

No files matched your search

+2 -2
View File
@@ -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.