diff options
author | Magnus Ahltorp <map@kth.se> | 2015-03-31 00:35:57 +0200 |
---|---|---|
committer | Magnus Ahltorp <map@kth.se> | 2015-03-31 00:35:57 +0200 |
commit | 1462b94617b0c97b9e625d2c3a379a734ecb1dd8 (patch) | |
tree | 63508f318361150ba35bbe17c18ab3e146dd20f1 /src/catlfish_web.erl | |
parent | 63bb7bbdad8c7b21630cedaea2f2b82aa62fd59d (diff) |
Fixnopublicssl2
Diffstat (limited to 'src/catlfish_web.erl')
-rw-r--r-- | src/catlfish_web.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/catlfish_web.erl b/src/catlfish_web.erl index 5ee5743..f9fe6d6 100644 --- a/src/catlfish_web.erl +++ b/src/catlfish_web.erl @@ -2,14 +2,14 @@ %%% See LICENSE for licensing information. -module(catlfish_web). --export([start/2, loop/2]). +-export([start/3, loop/2]). -start(Options, Module) -> +start(Options, Module, Name) -> lager:debug("Starting catlfish web server: ~p", [Module]), Loop = fun (Req) -> ?MODULE:loop(Req, Module) end, - mochiweb_http:start([{name, Module}, {loop, Loop} | Options]). + mochiweb_http:start([{name, Name}, {loop, Loop} | Options]). add_auth(Path, {Code, Headers, Data}) -> |