aboutsummaryrefslogtreecommitdiff
path: root/examples/async/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/async/main.c')
-rw-r--r--examples/async/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/async/main.c b/examples/async/main.c
index fbd766e..8b0ec82 100644
--- a/examples/async/main.c
+++ b/examples/async/main.c
@@ -120,9 +120,9 @@ static int hello(const struct http_payload *const pl,
return 0;
}
-static int on_length(const unsigned long long len,
- const struct http_cookie *const c, struct http_response *const r,
- void *const user)
+static int on_length(const enum http_op op, const char *const res,
+ const unsigned long long len, const struct http_cookie *const c,
+ struct http_response *const r, void *const user)
{
*r = (const struct http_response)
{