From e282cfa8b91980eb1f83661eb91d41d029008090 Mon Sep 17 00:00:00 2001 From: xiehan <52160700+Barenboim@users.noreply.github.com> Date: Thu, 12 Nov 2020 19:33:26 +0800 Subject: [PATCH] Update tutorial-01-wget.md --- docs/tutorial-01-wget.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial-01-wget.md b/docs/tutorial-01-wget.md index 86a2c47257..2a5514f524 100644 --- a/docs/tutorial-01-wget.md +++ b/docs/tutorial-01-wget.md @@ -61,7 +61,7 @@ void wget_callback(WFHttpTask *task) ... // print response body to stdin - void *body; + const void *body; size_t body_len; resp->get_parsed_body(&body, &body_len); // always success. fwrite(body, 1, body_len, stdout);