diff options
-rw-r--r-- | src/plop.erl | 2 | ||||
-rw-r--r-- | src/plop_httputil.erl (renamed from src/http_util.erl) | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/plop.erl b/src/plop.erl index 0b95faa..63579d1 100644 --- a/src/plop.erl +++ b/src/plop.erl @@ -197,7 +197,7 @@ send_http_request(TreeLeafHash, URL, Headers, RequestBody) -> ParentPid = self(), RequestId = make_ref(), spawn(fun () -> - case http_util:request("leafhash " ++ mochihex:to_hex(TreeLeafHash), URL, Headers, RequestBody) of + case plop_httputil:request("leafhash " ++ mochihex:to_hex(TreeLeafHash), URL, Headers, RequestBody) of {failure, StatusLine, RespHeaders, Body} -> lager:debug("auth check failed"), drop; diff --git a/src/http_util.erl b/src/plop_httputil.erl index 53dd2bb..a7be8b5 100644 --- a/src/http_util.erl +++ b/src/plop_httputil.erl @@ -2,7 +2,7 @@ %%% See LICENSE for licensing information. %%% --module(http_util). +-module(plop_httputil). -export([request/4]). -include_lib("hackney/include/hackney_lib.hrl"). |