aboutsummaryrefslogtreecommitdiff
path: root/examples/hello/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/hello/main.c')
-rw-r--r--examples/hello/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/hello/main.c b/examples/hello/main.c
index 8ddf691..cb5a8ee 100644
--- a/examples/hello/main.c
+++ b/examples/hello/main.c
@@ -77,9 +77,9 @@ end:
return ret;
}
-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)
{