mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-02-11 13:53:03 +02:00
Fix comment indentation and wrapping.
This commit is contained in:
parent
bfc9a5c33e
commit
008a18555c
@ -164,8 +164,8 @@ httpResponseRead(THIS_VOID, Buffer *buffer, bool block)
|
|||||||
// If no content remaining
|
// If no content remaining
|
||||||
if (this->contentRemaining == 0)
|
if (this->contentRemaining == 0)
|
||||||
{
|
{
|
||||||
// If chunked then consume the blank line that follows every chunk. There might be more chunk data so loop back
|
// If chunked then consume the blank line that follows every chunk. There might be more chunk data so loop
|
||||||
// around to check.
|
// back around to check.
|
||||||
if (this->contentChunked)
|
if (this->contentChunked)
|
||||||
{
|
{
|
||||||
ioReadLine(rawRead);
|
ioReadLine(rawRead);
|
||||||
|
4
src/protocol/helper.c
Normal file → Executable file
4
src/protocol/helper.c
Normal file → Executable file
@ -559,8 +559,8 @@ protocolRemoteParam(ProtocolStorageType protocolStorageType, unsigned int hostId
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Remove options that have been marked for removal if they are not already null or invalid. This is more efficient because
|
// Remove options that have been marked for removal if they are not already null or invalid. This is more efficient
|
||||||
// cfgExecParam() won't have to search through as large a list looking for overrides.
|
// because cfgExecParam() won't have to search through as large a list looking for overrides.
|
||||||
if (remove)
|
if (remove)
|
||||||
{
|
{
|
||||||
// Loop through option indexes
|
// Loop through option indexes
|
||||||
|
0
src/storage/posix/write.c
Normal file → Executable file
0
src/storage/posix/write.c
Normal file → Executable file
@ -241,7 +241,7 @@ storageWriteS3Close(THIS_VOID)
|
|||||||
.content = xmlDocumentBuf(partList));
|
.content = xmlDocumentBuf(partList));
|
||||||
HttpResponse *response = storageS3ResponseP(request);
|
HttpResponse *response = storageS3ResponseP(request);
|
||||||
|
|
||||||
// Error if there is no etag in the result. This indicates that the request did not succeed despite the success code.
|
// Error when no etag in the result. This indicates that the request did not succeed despite the success code.
|
||||||
if (xmlNodeChild(
|
if (xmlNodeChild(
|
||||||
xmlDocumentRoot(xmlDocumentNewBuf(httpResponseContent(response))), S3_XML_TAG_ETAG_STR, false) == NULL)
|
xmlDocumentRoot(xmlDocumentNewBuf(httpResponseContent(response))), S3_XML_TAG_ETAG_STR, false) == NULL)
|
||||||
{
|
{
|
||||||
|
2
test/src/module/common/lockTest.c
Normal file → Executable file
2
test/src/module/common/lockTest.c
Normal file → Executable file
@ -184,7 +184,7 @@ testRun(void)
|
|||||||
"lock is already held by this process");
|
"lock is already held by this process");
|
||||||
TEST_RESULT_VOID(lockRelease(true), "release archive lock");
|
TEST_RESULT_VOID(lockRelease(true), "release archive lock");
|
||||||
|
|
||||||
// // -------------------------------------------------------------------------------------------------------------------------
|
// -------------------------------------------------------------------------------------------------------------------------
|
||||||
lockLocal.execId = STRDEF("2-test");
|
lockLocal.execId = STRDEF("2-test");
|
||||||
|
|
||||||
TEST_ASSIGN(lockFdTest, lockAcquireFile(backupLockFile, 0, true), "backup lock by file");
|
TEST_ASSIGN(lockFdTest, lockAcquireFile(backupLockFile, 0, true), "backup lock by file");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user