You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-11-06 16:09:25 +03:00
FIx typos and missing debug param.
This commit is contained in:
@@ -48,6 +48,7 @@ protocolClientNew(const String *name, const String *service, IoRead *read, IoWri
|
|||||||
{
|
{
|
||||||
FUNCTION_LOG_BEGIN(logLevelTrace);
|
FUNCTION_LOG_BEGIN(logLevelTrace);
|
||||||
FUNCTION_LOG_PARAM(STRING, name);
|
FUNCTION_LOG_PARAM(STRING, name);
|
||||||
|
FUNCTION_LOG_PARAM(STRING, service);
|
||||||
FUNCTION_LOG_PARAM(IO_READ, read);
|
FUNCTION_LOG_PARAM(IO_READ, read);
|
||||||
FUNCTION_LOG_PARAM(IO_WRITE, write);
|
FUNCTION_LOG_PARAM(IO_WRITE, write);
|
||||||
FUNCTION_LOG_END();
|
FUNCTION_LOG_END();
|
||||||
@@ -108,7 +109,7 @@ protocolClientNew(const String *name, const String *service, IoRead *read, IoWri
|
|||||||
// Send one noop to catch any errors that might happen after the greeting
|
// Send one noop to catch any errors that might happen after the greeting
|
||||||
protocolClientNoOp(this);
|
protocolClientNoOp(this);
|
||||||
|
|
||||||
// Set a callback so the handles will get freed
|
// Set a callback to shutdown the protocol
|
||||||
memContextCallback(this->memContext, (MemContextCallback)protocolClientFree, this);
|
memContextCallback(this->memContext, (MemContextCallback)protocolClientFree, this);
|
||||||
}
|
}
|
||||||
MEM_CONTEXT_NEW_END();
|
MEM_CONTEXT_NEW_END();
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ Constants
|
|||||||
#define PROTOCOL_COMMAND "cmd"
|
#define PROTOCOL_COMMAND "cmd"
|
||||||
STRING_DECLARE(PROTOCOL_COMMAND_STR);
|
STRING_DECLARE(PROTOCOL_COMMAND_STR);
|
||||||
#define PROTOCOL_COMMAND_EXIT "exit"
|
#define PROTOCOL_COMMAND_EXIT "exit"
|
||||||
STRING_DECLARE(PROTOCOL_COMMAND_NOOP_STR);
|
STRING_DECLARE(PROTOCOL_COMMAND_EXIT_STR);
|
||||||
#define PROTOCOL_COMMAND_NOOP "noop"
|
#define PROTOCOL_COMMAND_NOOP "noop"
|
||||||
STRING_DECLARE(PROTOCOL_COMMAND_NOOP_STR);
|
STRING_DECLARE(PROTOCOL_COMMAND_NOOP_STR);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user