You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by rn...@apache.org on 2015/09/09 10:42:53 UTC
[10/19] mochiweb commit: updated refs/heads/upstream to bd6ae7c
remove apply call
Project: http://git-wip-us.apache.org/repos/asf/couchdb-mochiweb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mochiweb/commit/8f5e13b1
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-mochiweb/tree/8f5e13b1
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-mochiweb/diff/8f5e13b1
Branch: refs/heads/upstream
Commit: 8f5e13b188d1cb6c8e56340dcf70185c86039c98
Parents: 4daa6f3
Author: Robert Kowalski <ro...@kowalski.gd>
Authored: Tue Aug 4 22:02:12 2015 +0200
Committer: Robert Kowalski <ro...@kowalski.gd>
Committed: Tue Aug 4 22:02:12 2015 +0200
----------------------------------------------------------------------
src/mochiweb_http.erl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-mochiweb/blob/8f5e13b1/src/mochiweb_http.erl
----------------------------------------------------------------------
diff --git a/src/mochiweb_http.erl b/src/mochiweb_http.erl
index 450085f..1354fa6 100644
--- a/src/mochiweb_http.erl
+++ b/src/mochiweb_http.erl
@@ -73,7 +73,7 @@ start_link(Options) ->
mochiweb_socket_server:start_link(parse_options(Options)).
ensure_started(M) ->
- case erlang:apply(M, start, []) of
+ case M:start() of
{ok, _Pid} ->
ok;
{error, {already_started, _PID}} ->