diff --git a/src/remote/server/server.cpp b/src/remote/server/server.cpp index 4461324323..0dd4256572 100644 --- a/src/remote/server/server.cpp +++ b/src/remote/server/server.cpp @@ -4982,8 +4982,8 @@ ISC_STATUS rem_port::service_attach(const char* service_name, svc->svc_iface = iface; } - return this->send_response(sendL, 0, authenticated ? sendL->p_resp.p_resp_data.cstr_length : 0, - &status_vector, false); + return this->send_response(sendL, 0, + (authenticated ? sendL->p_resp.p_resp_data.cstr_length : 0), &status_vector, false); } diff --git a/src/yvalve/YObjects.h b/src/yvalve/YObjects.h index 8d9b6c026c..a664e39514 100644 --- a/src/yvalve/YObjects.h +++ b/src/yvalve/YObjects.h @@ -465,7 +465,7 @@ private: unsigned int checkSpbLen; const unsigned char* checkSpbPresent; Firebird::HalfStaticArray authBlock; - bool utf8Connection; // Client talks to us using UTF8, else - system default collation + bool utf8Connection; // Client talks to us using UTF8, else - system default charset void populateSpb(Firebird::ClumpletWriter& spb, UCHAR tag); }; diff --git a/src/yvalve/utl.cpp b/src/yvalve/utl.cpp index 33b59da701..7051e535da 100644 --- a/src/yvalve/utl.cpp +++ b/src/yvalve/utl.cpp @@ -2143,7 +2143,8 @@ int API_ROUTINE gds__thread_start(FPTR_INT_VOID_PTR entrypoint, } // new utl -static inline void setTag(Firebird::ClumpletWriter& dpb, UCHAR tag, Firebird::string& value, bool utf8) +static inline void setTag(Firebird::ClumpletWriter& dpb, UCHAR tag, + Firebird::string& value, bool utf8) { if (! dpb.find(tag)) { diff --git a/src/yvalve/why.cpp b/src/yvalve/why.cpp index 1273035b28..cda8317c15 100644 --- a/src/yvalve/why.cpp +++ b/src/yvalve/why.cpp @@ -4786,6 +4786,7 @@ int YService::release() return 1; } + //------------------------------------- @@ -4941,7 +4942,10 @@ YService* Dispatcher::attachServiceManager(IStatus* status, const char* serviceN return new YService(provider, service, utfData); } else - return new YService(svcName.c_str(), spbWriter.getBufferLength(), spbWriter.getBuffer(), utfData); + { + return new YService(svcName.c_str(), spbWriter.getBufferLength(), + spbWriter.getBuffer(), utfData); + } } catch (const Exception& e) {