summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mochiweb/mochiweb_request.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mochiweb/mochiweb_request.erl b/src/mochiweb/mochiweb_request.erl
index f512555f..1a2764e0 100644
--- a/src/mochiweb/mochiweb_request.erl
+++ b/src/mochiweb/mochiweb_request.erl
@@ -182,7 +182,7 @@ recv_body(MaxBody) ->
true ->
{NewLength, [Bin | BinAcc]}
end
- end, {0, []}, ?MAX_RECV_BODY),
+ end, {0, []}, MaxBody),
put(?SAVE_BODY, Body),
Body.