couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kocol...@apache.org
Subject svn commit: r1060972 - /couchdb/trunk/src/couchdb/couch_os_daemons.erl
Date Wed, 19 Jan 2011 20:31:35 GMT
Author: kocolosk
Date: Wed Jan 19 20:31:35 2011
New Revision: 1060972

URL: http://svn.apache.org/viewvc?rev=1060972&view=rev
Log:
Trivial change to use ?MODULE instead of module name

Modified:
    couchdb/trunk/src/couchdb/couch_os_daemons.erl

Modified: couchdb/trunk/src/couchdb/couch_os_daemons.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_os_daemons.erl?rev=1060972&r1=1060971&r2=1060972&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_os_daemons.erl (original)
+++ couchdb/trunk/src/couchdb/couch_os_daemons.erl Wed Jan 19 20:31:35 2011
@@ -47,7 +47,7 @@ config_change(Section, Key) ->
 
 init(_) ->
     process_flag(trap_exit, true),
-    ok = couch_config:register(fun couch_os_daemons:config_change/2),
+    ok = couch_config:register(fun ?MODULE:config_change/2),
     Table = ets:new(?MODULE, [protected, set, {keypos, #daemon.port}]),
     reload_daemons(Table),
     {ok, Table}.



Mime
View raw message