couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject [5/9] git commit: Don't confuse argument ordering
Date Fri, 17 Jan 2014 21:47:14 GMT
Don't confuse argument ordering


Project: http://git-wip-us.apache.org/repos/asf/couchdb-ets-lru/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-ets-lru/commit/5aab9df4
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-ets-lru/tree/5aab9df4
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-ets-lru/diff/5aab9df4

Branch: refs/heads/import
Commit: 5aab9df4f452126aa2763eafdb8dff930f8c9712
Parents: 3f2bae1
Author: Paul J. Davis <paul.joseph.davis@gmail.com>
Authored: Wed Jan 23 16:04:05 2013 -0600
Committer: Paul J. Davis <paul.joseph.davis@gmail.com>
Committed: Wed Jan 23 16:04:05 2013 -0600

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


http://git-wip-us.apache.org/repos/asf/couchdb-ets-lru/blob/5aab9df4/src/ets_lru.erl
----------------------------------------------------------------------
diff --git a/src/ets_lru.erl b/src/ets_lru.erl
index 4aecabf..b373f89 100644
--- a/src/ets_lru.erl
+++ b/src/ets_lru.erl
@@ -178,7 +178,7 @@ code_change(_OldVsn, St, _Extra) ->
     {ok, St}.
 
 
-accessed(St, Key) ->
+accessed(Key, St) ->
     Pattern = #entry{key=Key, atime='$1', _='_'},
     case ets:match(St#st.objects, Pattern) of
         [[ATime]] ->


Mime
View raw message