From dc4f15e586112742cf54628e937e0f776022c953 Mon Sep 17 00:00:00 2001 From: Adam Kocoloski Date: Sat, 10 Jul 2010 15:50:17 -0400 Subject: thank you dialyzer --- src/fabric_util.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fabric_util.erl') diff --git a/src/fabric_util.erl b/src/fabric_util.erl index 3c27f19e..e928c5ff 100644 --- a/src/fabric_util.erl +++ b/src/fabric_util.erl @@ -28,7 +28,7 @@ receive_loop(Workers, Keypos, Fun, Acc0) -> %% @doc set up the receive loop with an overall timeout -spec receive_loop([any()], integer(), function(), any(), timeout(), timeout()) -> - {ok, any()}. + {ok, any()} | timeout | {error, any()}. receive_loop(RefPartMap, Keypos, Fun, Acc0, infinity, PerMsgTO) -> process_mailbox(RefPartMap, Keypos, Fun, Acc0, nil, PerMsgTO); receive_loop(RefPartMap, Keypos, Fun, Acc0, GlobalTimeout, PerMsgTO) -> -- cgit v1.2.3