From 14d9287d7945c25eb06017d83dec4c45a55f2dba Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Thu, 8 Nov 2012 15:32:44 +0100 Subject: pd_client: Correctly exit when receiving an e --- pd_client.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pd_client.pl b/pd_client.pl index e0a83f3..4938dd4 100644 --- a/pd_client.pl +++ b/pd_client.pl @@ -13,7 +13,7 @@ launch(Module, StreamIn, StreamOut) :- atom_concat('rules/', Module, Path), consult(Path), do([], StreamIn, StreamOut, Module, [], []). -do(e, _, _, _, _) :- !. +do(e, _, _, _, _, _) :- !. do(Choice, StreamIn, StreamOut, Module, ModuleState, Hist) :- call(Module, Hist, ModuleDecision, ModuleState, NewModuleState), write(StreamOut, ModuleDecision), flush_output(StreamOut), -- cgit