1
0
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:
David Steele
2019-04-22 18:46:29 -04:00
parent 81f652137c
commit c650134a04
14 changed files with 99 additions and 53 deletions

View File

@ -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