Skip to content

Commit

Permalink
forgot the extra line break between the multipart headers and body (b…
Browse files Browse the repository at this point in the history
…z://487)
  • Loading branch information
beerriot committed Aug 6, 2010
1 parent 0db0bf6 commit 437bcfb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion rebar.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{lib_dirs, ["deps"]}.
{lib_dirs, ["deps", ".."]}.

{deps, [{skerl, "0\.1",
{hg, "ssh://hg@bitbucket.org/basho/skerl", "1233b8462076"}},
Expand Down
2 changes: 1 addition & 1 deletion src/luwak_wm_file.erl
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@ multi_send_helper(C, H, Length, Boundary, Rest, Thunk) ->
multipart_header(Boundary, Start, End, Length) ->
[<<"\r\n--">>, Boundary, <<"\r\n">>,
?HEAD_CRANGE, <<": ">>,
content_range_header(Start, End, Length), <<"\r\n">>].
content_range_header(Start, End, Length), <<"\r\n\r\n">>].

%% @spec ensure_doc(context()) -> context()
%% @doc Ensure that the 'doc' field of the context() has been filled
Expand Down
4 changes: 2 additions & 2 deletions test/test_helper.erl
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
-export([riak_test/1]).

riak_test(Fun) ->
start_riak(),
% start_riak(),
{ok, Riak} = riak:local_client(),
Ret = (catch Fun(Riak)),
stop_riak(),
% stop_riak(),
case Ret of
{'EXIT', Err} -> throw(Err);
_ -> Ret
Expand Down

0 comments on commit 437bcfb

Please sign in to comment.