Browse Source

fixed default for reg/1 when item is a counter - again

git-svn-id: http://svn.ulf.wiger.net/gproc/branches/experimental-0906/gproc@41 f3948e33-8234-0410-8a80-a07eae3b6c4d
uwiger 15 years ago
parent
commit
afe662f1c2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/gproc.erl

+ 1 - 1
src/gproc.erl

@@ -272,7 +272,7 @@ reg({_,g,_} = Key, Value) ->
     %% anything global
     ?CHK_DIST,
     gproc_dist:reg(Key, Value);
-reg({a,l,_} = Key, Value) ->
+reg({p,l,_} = Key, Value) ->
     local_reg(Key, Value);
 reg({T,l,_} = Key, Value) when T==n; T==c; T==a ->
     %% local names, counters and aggregated counters