8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-02-02 10:40:38 +01:00

Fixed CORE-6309: fbsvcmgr can not decode information buffer returned by gfix list limbo service

This commit is contained in:
AlexPeshkoff 2020-05-19 11:25:49 +03:00
parent 1ac5a64009
commit b06bd7cea5

View File

@ -625,8 +625,15 @@ void ALICE_upper_case(const TEXT* in, TEXT* out, const size_t buf_size)
void ALICE_print(USHORT number, const SafeArg& arg)
{
TEXT buffer[256];
AliceGlobals* tdgbl = AliceGlobals::getSpecific();
if (tdgbl->uSvc->isService())
{
tdgbl->uSvc->setServiceStatus(ALICE_MSG_FAC, number, arg);
tdgbl->uSvc->started();
return;
}
TEXT buffer[256];
fb_msg_format(0, ALICE_MSG_FAC, number, sizeof(buffer), buffer, arg);
alice_output(false, "%s\n", buffer);
}