couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From woh...@apache.org
Subject [08/50] mochiweb commit: updated refs/heads/master to 999f464
Date Sun, 18 Feb 2018 17:29:53 GMT
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/master
Commit: 8f5e13b188d1cb6c8e56340dcf70185c86039c98
Parents: 4daa6f3
Author: Robert Kowalski <rok@kowalski.gd>
Authored: Tue Aug 4 22:02:12 2015 +0200
Committer: Robert Kowalski <rok@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}} ->


Mime
View raw message