aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/src/guide/multipart.asciidoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/guide/multipart.asciidoc b/doc/src/guide/multipart.asciidoc
index 756d3b4..0825244 100644
--- a/doc/src/guide/multipart.asciidoc
+++ b/doc/src/guide/multipart.asciidoc
@@ -112,9 +112,9 @@ multipart(Req0) ->
stream_file(Req0) ->
case cowboy_req:read_part_body(Req0) of
- {ok, _Body, Req} ->
+ {ok, _LastBodyChunk, Req} ->
Req;
- {more, _Body, Req} ->
+ {more, _BodyChunk, Req} ->
stream_file(Req)
end.
----