summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Lenz <cmlenz@apache.org>2009-02-24 13:58:34 +0000
committerChristopher Lenz <cmlenz@apache.org>2009-02-24 13:58:34 +0000
commitcb03fe83412bd514bdbfad0e7ac0da76be3bf372 (patch)
treedfa19d07fa6c1add0fe0a2ad74254d7a208c9b1e
parent8963929839fa57123c80de850538fa837361de70 (diff)
Fix for COUCHDB-266.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@747381 13f79535-47bb-0310-9956-ffa450edef68
-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.