From 0b6616369ac4a70741ac082237f7c2af7e9b678f Mon Sep 17 00:00:00 2001 From: Youri Westerman Date: Fri, 20 Feb 2015 16:35:12 +0100 Subject: [PATCH] Preserving original status --- common/JackGenericClientChannel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/JackGenericClientChannel.cpp b/common/JackGenericClientChannel.cpp index df7b038f..46e71619 100644 --- a/common/JackGenericClientChannel.cpp +++ b/common/JackGenericClientChannel.cpp @@ -102,7 +102,7 @@ void JackGenericClientChannel::ClientCheck(const char* name, int uuid, char* nam JackClientCheckRequest req(name, protocol, options, uuid, open); JackClientCheckResult res; ServerSyncCall(&req, &res, result); - *status = res.fStatus; + *status |= res.fStatus; strcpy(name_res, res.fName); }