Permalink
Browse files

otp 15 fix

  • Loading branch information...
mats cronqvist
mats cronqvist committed Mar 17, 2012
1 parent 66281e7 commit 1878e94008827cd5152730167d7d5b72f2774c4c
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/trane.erl
View
@@ -1,4 +1,4 @@
-%% -*- mode: erlang; erlang-indent-level: 2 -*-
+% -*- mode: erlang; erlang-indent-level: 2 -*-
%%% Created : 10 May 2010 by mats cronqvist <masse@kreditor.se>
%%% Copyright (c) 2010 Mats Cronqvist
%%
@@ -190,7 +190,7 @@ dc(Str) -> string:to_lower(Str).
%% Parsing real pages
wget(Url) ->
inets:start(),
- {ok, {_Rc, _Hdrs, Body}} = http:request(get, {Url, []}, [], []),
+ {ok, {_Rc, _Hdrs, Body}} = httpc:request(get, {Url, []}, [], []),
Body.
wget_parse(Url) ->

0 comments on commit 1878e94

Please sign in to comment.