Permalink
Browse files

forgot the extra line break between the multipart headers and body (b…

…z://487)
  • Loading branch information...
1 parent 0db0bf6 commit 437bcfb151f146450f5f693c381ba46cba2f0465 Bryan Fink committed Aug 6, 2010
Showing with 4 additions and 4 deletions.
  1. +1 −1 rebar.config
  2. +1 −1 src/luwak_wm_file.erl
  3. +2 −2 test/test_helper.erl
View
2 rebar.config
@@ -1,4 +1,4 @@
-{lib_dirs, ["deps"]}.
+{lib_dirs, ["deps", ".."]}.
{deps, [{skerl, "0\.1",
{hg, "ssh://hg@bitbucket.org/basho/skerl", "1233b8462076"}},
View
2 src/luwak_wm_file.erl
@@ -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
View
4 test/test_helper.erl
@@ -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

0 comments on commit 437bcfb

Please sign in to comment.