You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-07-17 01:12:23 +02:00
Add ioWriteStr() and ioWriteStrLine().
These function names make it clearer what is being written. The old ioWriteLine() has been repurposed to write buffers.
This commit is contained in:
@ -186,7 +186,7 @@ protocolClientWriteCommand(ProtocolClient *this, const ProtocolCommand *command)
|
||||
ASSERT(command != NULL);
|
||||
|
||||
// Write out the command
|
||||
ioWriteLine(this->write, protocolCommandJson(command));
|
||||
ioWriteStrLine(this->write, protocolCommandJson(command));
|
||||
ioWriteFlush(this->write);
|
||||
|
||||
// Reset the keep alive time
|
||||
|
Reference in New Issue
Block a user