Permalink
Browse files

Fix for R15B - usage of deprecated http

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
  • Loading branch information...
lemenkov committed May 18, 2012
1 parent 37e5834 commit f609c30ed00750f4df55e563fb39f3b58085dd3f
Showing with 2 additions and 2 deletions.
  1. +2 −2 priv/generator/generator.erl
@@ -77,9 +77,9 @@ get_ix_http(Doc) ->
[Px] -> ok
end,
[H,P] = string:tokens(Px,":"),
- http:set_options([{proxy,{{H,list_to_integer(P)},[]}}])
+ httpc:set_options([{proxy,{{H,list_to_integer(P)},[]}}])
end,
- ReqPid = spawn(fun() -> exit(http:request(Doc)) end),
+ ReqPid = spawn(fun() -> exit(httpc:request(Doc)) end),
ReqMon = erlang:monitor(process,ReqPid),
receive
{'DOWN',ReqMon,_,_,{ok,{_,_,S}}} -> S;

0 comments on commit f609c30

Please sign in to comment.