mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 19:23:03 +01:00
Cleanup.
This commit is contained in:
parent
64f7b17755
commit
ec27d021fd
@ -164,7 +164,7 @@ void CNTL_shutdown_service(const TEXT* message)
|
||||
*
|
||||
**************************************/
|
||||
const char* strings[2];
|
||||
char buffer[256];
|
||||
char buffer[BUFFER_SMALL];
|
||||
|
||||
sprintf(buffer, "%s error: %lu", service_name, GetLastError());
|
||||
|
||||
|
@ -234,10 +234,10 @@ void CNTL_shutdown_service( const TEXT* message)
|
||||
**************************************/
|
||||
const char* strings[2];
|
||||
|
||||
char buffer[256];
|
||||
sprintf(buffer, "%s error: %lu", "Firebird Server", GetLastError());
|
||||
char buffer[BUFFER_SMALL];
|
||||
sprintf(buffer, "%s error: %lu", REMOTE_SERVICE, GetLastError());
|
||||
|
||||
HANDLE event_source = RegisterEventSource(NULL, "Firebird Server");
|
||||
HANDLE event_source = RegisterEventSource(NULL, REMOTE_SERVICE);
|
||||
if (event_source) {
|
||||
strings[0] = buffer;
|
||||
strings[1] = message;
|
||||
|
Loading…
Reference in New Issue
Block a user