Permalink
Browse files

Fix -spec for logplex_db:poll/2.

  • Loading branch information...
archaelus committed Jul 3, 2012
1 parent 1f6aedb commit f05a85f719278a7353066413f305b91dc39a26b2
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/logplex_db.erl
View
@@ -46,7 +46,7 @@ redo_opts() ->
end.
-spec poll(fun ( () -> 'not_found' | {'found', T} | {'error', E} ),
- pos_integer) ->
+ pos_integer()) ->
{error, timeout} | {error, E} | T.
poll(Fun, Timeout) when is_function(Fun, 0),

0 comments on commit f05a85f

Please sign in to comment.