Skip to content
Browse files

register lhttpc_sup locally

  • Loading branch information...
1 parent 3792970 commit cd06f97bcc93d45a4cf7e9cbe45b7294435a8baa Richard Carlsson committed Oct 24, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/lhttpc_sup.erl
View
2 src/lhttpc_sup.erl
@@ -46,7 +46,7 @@
%% @end
-spec start_link() -> {ok, pid()} | {error, atom()}.
start_link() ->
- supervisor:start_link(?MODULE, nil).
+ supervisor:start_link({local, ?MODULE}, ?MODULE, []).
%% @hidden
-spec init(any()) -> {ok, {{atom(), integer(), integer()}, [child()]}}.

0 comments on commit cd06f97

Please sign in to comment.
Something went wrong with that request. Please try again.