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 2014/08/01 11:10:17 UTC
[21/35] git commit: Fix minor syntax errors and typos
Fix minor syntax errors and typos
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/ed821717
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-event/tree/ed821717
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-event/diff/ed821717
Branch: refs/heads/windsor-merge
Commit: ed82171709506cc4ba4148e9d3aba4a9cd87c98f
Parents: 2bd7db0
Author: Paul J. Davis <pa...@gmail.com>
Authored: Wed Apr 24 14:17:18 2013 -0500
Committer: Robert Newson <rn...@apache.org>
Committed: Wed Jul 30 17:42:04 2014 +0100
----------------------------------------------------------------------
src/couch_event_listener_mfa.erl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-couch-event/blob/ed821717/src/couch_event_listener_mfa.erl
----------------------------------------------------------------------
diff --git a/src/couch_event_listener_mfa.erl b/src/couch_event_listener_mfa.erl
index 81adb8f..7b13604 100644
--- a/src/couch_event_listener_mfa.erl
+++ b/src/couch_event_listener_mfa.erl
@@ -17,7 +17,7 @@
-export([
start_link/4,
enter_loop/4,
- stop/1,
+ stop/1
]).
-export([
@@ -71,7 +71,7 @@ terminate(_Reason, _MFA) ->
handle_event(DbName, Event, #st{mod=Mod, func=Func, state=State}=St) ->
case (catch Mod:Func(DbName, Event, State)) of
- {ok, NewSt} ->
+ {ok, NewState} ->
{ok, St#st{state=NewState}};
stop ->
{stop, normal, St};