summaryrefslogtreecommitdiff
path: root/src/catlfish_app.erl
diff options
context:
space:
mode:
authorMagnus Ahltorp <map@kth.se>2014-10-24 04:37:18 +0200
committerMagnus Ahltorp <map@kth.se>2014-10-24 04:37:18 +0200
commit314370d6e5e6326033b648ba621803b75337935f (patch)
tree355221c58ced5429db7e226107394e8794e0b706 /src/catlfish_app.erl
parent3e43d0c819e95a75b850c298cfe9904ed180ac16 (diff)
Use mochiweb for v1 APIexternal-merge
Diffstat (limited to 'src/catlfish_app.erl')
-rw-r--r--src/catlfish_app.erl15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/catlfish_app.erl b/src/catlfish_app.erl
index 39c3109..cfb55cd 100644
--- a/src/catlfish_app.erl
+++ b/src/catlfish_app.erl
@@ -12,19 +12,8 @@
%% Application callbacks
%% ===================================================================
-dummy() ->
- receive
- after
- infinity ->
- none
- end.
-
-start(_StartType, _StartArgs) ->
- io:format("starting catlfish~n", []),
- Pid = spawn(fun () ->
- dummy()
- end),
- {ok, Pid}.
+start(normal, Args) ->
+ catlfish_sup:start_link(Args).
stop(_State) ->
ok.