Use '$initial_call' instead of initial_call BugzID: 18742
Project: http://git-wip-us.apache.org/repos/asf/couchdb-rexi/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-rexi/commit/b28cbb76 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-rexi/tree/b28cbb76 Diff: http://git-wip-us.apache.org/repos/asf/couchdb-rexi/diff/b28cbb76 Branch: refs/heads/windsor-merge Commit: b28cbb76b9901af09c3d7b8c9b81df171cf75f85 Parents: c275f92 Author: Adam Kocoloski <[email protected]> Authored: Fri Aug 16 14:40:31 2013 -0400 Committer: Robert Newson <[email protected]> Committed: Wed Jul 23 17:57:54 2014 +0100 ---------------------------------------------------------------------- src/rexi_server.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-rexi/blob/b28cbb76/src/rexi_server.erl ---------------------------------------------------------------------- diff --git a/src/rexi_server.erl b/src/rexi_server.erl index 49661cc..7d928ad 100644 --- a/src/rexi_server.erl +++ b/src/rexi_server.erl @@ -146,7 +146,7 @@ init_p(From, MFA) -> string() | undefined) -> any(). init_p(From, {M,F,A}, Nonce) -> put(rexi_from, From), - put(initial_call, {M,F,length(A)}), + put('$initial_call', {M,F,length(A)}), put(nonce, Nonce), try apply(M, F, A) catch exit:normal -> ok; Class:Reason -> Stack = clean_stack(),
