1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-14 10:13:05 +02:00

Fix formatting in common/string module.

This commit is contained in:
David Steele 2022-04-25 13:26:09 -04:00
parent 40ef64f2be
commit c3b08f71ce

View File

@ -740,7 +740,8 @@ strPath(const String *this)
while (end > this->pub.buffer && *(end - 1) != '/')
end--;
FUNCTION_TEST_RETURN(STRING,
FUNCTION_TEST_RETURN(
STRING,
strNewZN(
this->pub.buffer,
end - this->pub.buffer <= 1 ? (size_t)(end - this->pub.buffer) : (size_t)(end - this->pub.buffer - 1)));
@ -1041,7 +1042,6 @@ strSizeFormat(const uint64_t size)
{
FUNCTION_TEST_BEGIN();
FUNCTION_TEST_PARAM(UINT64, size);
FUNCTION_TEST_END();
String *result = NULL;