diff --git a/calexium_lib/net_services/CXM_generic_client.anubis b/calexium_lib/net_services/CXM_generic_client.anubis index 662e568..596f132 100644 --- a/calexium_lib/net_services/CXM_generic_client.anubis +++ b/calexium_lib/net_services/CXM_generic_client.anubis @@ -131,12 +131,12 @@ define Maybe($T) { failure then logger("["+queue.get_name(unique)+"]: requesting service RESULT not found");failure, success(result) then - if find_string(msg, "TIMESTAMP") is - { - failure then logger("["+queue.get_name(unique)+"]: requesting service TIMESTAMP not found");failure, - success(timestamp) then - handler(queue, timestamp) - } + with timestamp = if find_string(msg, "TIMESTAMP") is + { + failure then logger("["+queue.get_name(unique)+"]: requesting service TIMESTAMP not found");failure, + success(timestamp) then timestamp + }, + handler(queue, timestamp) } else logger("["+queue.get_name(unique)+"]: requested service started won't start");failure -- libgit2 0.21.4