From 778bd015eeeb875f6cfb75c09b3f1219ca4884f3 Mon Sep 17 00:00:00 2001 From: Scott Lystig Fritchie Date: Wed, 16 Sep 2015 12:41:53 +0900 Subject: [PATCH] Bugfix: pattern matching error in C110 --- src/machi_chain_manager1.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/machi_chain_manager1.erl b/src/machi_chain_manager1.erl index 708ae53..da7390a 100644 --- a/src/machi_chain_manager1.erl +++ b/src/machi_chain_manager1.erl @@ -1836,8 +1836,8 @@ react_to_env_C110(P_latest, #ch_mgr{name=MyName} = S) -> %% %% React to newer public write by restarting the iteration. react_to_env_A20(0, S); - {error, TO_or_part}=Else when TO_or_part == timeout; - TO_or_part == partition -> + {{error, TO_or_part}=Else, _Goo} when TO_or_part == timeout; + TO_or_part == partition -> %% TODO: Hrm, I know that there's currently a bug in the %% machi_flu1_client that causes use of 'undefined' instead of a %% valid TCP socket port() that causes {error,partition} problems