couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [16/35] git commit: Avoid use of undocumented functions
Date Fri, 01 Aug 2014 09:10:12 GMT
Avoid use of undocumented functions

I'd copied this pattern from R14B01's gen_server. Apparently newer
Erlang's complain about it. I've updated to the version found in
R15B03-1.


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-event/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-event/commit/b34d5330
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-event/tree/b34d5330
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-event/diff/b34d5330

Branch: refs/heads/windsor-merge
Commit: b34d5330301f5a4f268f4307634d1c5ac2c1bc57
Parents: 6e4f69e
Author: Paul J. Davis <paul.joseph.davis@gmail.com>
Authored: Wed Apr 24 14:11:11 2013 -0500
Committer: Robert Newson <rnewson@apache.org>
Committed: Wed Jul 30 17:41:25 2014 +0100

----------------------------------------------------------------------
 src/couch_event_listener.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch-event/blob/b34d5330/src/couch_event_listener.erl
----------------------------------------------------------------------
diff --git a/src/couch_event_listener.erl b/src/couch_event_listener.erl
index cbe754f..0eae00e 100644
--- a/src/couch_event_listener.erl
+++ b/src/couch_event_listener.erl
@@ -192,7 +192,7 @@ do_terminate(Reason, #st{module=Module, state=State}) ->
     erlang:exit(Status).
 
 
-where({global, Name}) -> global:safe_whereis_name(Name);
+where({global, Name}) -> global:whereis_name(Name);
 where({local, Name}) -> whereis(Name).
 
 


Mime
View raw message