From bec019dce545872f7c7e5da520e46febe32a381f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= <essen@ninenines.eu>
Date: Wed, 27 Sep 2017 18:54:51 +0200
Subject: Clarify a multipart example

---
 doc/src/guide/multipart.asciidoc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'doc/src/guide/multipart.asciidoc')

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.
 ----
-- 
cgit v1.2.3

