mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-03-05 15:05:48 +02:00
FIx typos and missing debug param.
This commit is contained in:
parent
b29a8dd9c5
commit
b3d1a2a802
@ -48,6 +48,7 @@ protocolClientNew(const String *name, const String *service, IoRead *read, IoWri
|
||||
{
|
||||
FUNCTION_LOG_BEGIN(logLevelTrace);
|
||||
FUNCTION_LOG_PARAM(STRING, name);
|
||||
FUNCTION_LOG_PARAM(STRING, service);
|
||||
FUNCTION_LOG_PARAM(IO_READ, read);
|
||||
FUNCTION_LOG_PARAM(IO_WRITE, write);
|
||||
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
|
||||
protocolClientNoOp(this);
|
||||
|
||||
// Set a callback so the handles will get freed
|
||||
// Set a callback to shutdown the protocol
|
||||
memContextCallback(this->memContext, (MemContextCallback)protocolClientFree, this);
|
||||
}
|
||||
MEM_CONTEXT_NEW_END();
|
||||
|
@ -34,7 +34,7 @@ Constants
|
||||
#define PROTOCOL_COMMAND "cmd"
|
||||
STRING_DECLARE(PROTOCOL_COMMAND_STR);
|
||||
#define PROTOCOL_COMMAND_EXIT "exit"
|
||||
STRING_DECLARE(PROTOCOL_COMMAND_NOOP_STR);
|
||||
STRING_DECLARE(PROTOCOL_COMMAND_EXIT_STR);
|
||||
#define PROTOCOL_COMMAND_NOOP "noop"
|
||||
STRING_DECLARE(PROTOCOL_COMMAND_NOOP_STR);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user