Inline, remove dead code

This commit is contained in:
Michael Klishin 2016-03-24 00:46:57 +03:00
parent efd3ad784c
commit 5d1c781f3a
1 changed files with 1 additions and 3 deletions

View File

@ -109,9 +109,7 @@ http_get_req(Path) ->
q(PathName, Args) ->
{ok, Path} = application:get_env(rabbitmq_auth_backend_http, PathName),
R = Path ++ "?" ++ string:join([escape(K, V) || {K, V} <- Args], "&"),
%%io:format("Q: ~p~n", [R]),
R.
Path ++ "?" ++ string:join([escape(K, V) || {K, V} <- Args], "&").
escape(K, V) ->
atom_to_list(K) ++ "=" ++ mochiweb_util:quote_plus(V).