Skip to content

Commit

Permalink
Use ?MODULE:loop in mochiweb_http:start
Browse files Browse the repository at this point in the history
  • Loading branch information
mmzeeman committed May 15, 2014
1 parent 9651af7 commit 844759e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webmachine_mochiweb.erl
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ start(Name, Options) ->

mochiweb_http:start([{name, Name},
{loop, fun(MochiReq) ->
loop(MochiReq, LoopOpts)
?MODULE:loop(MochiReq, LoopOpts)
end} | Options2]).

stop() ->
Expand Down

0 comments on commit 844759e

Please sign in to comment.