pgbackrest.git / summary / log / commit / refs
commit e93f1dd898ea76e4068d3723f36282bf715cd9d8
Author: Cynthia Shang <cynthia.shang@crunchydata.com>
Commit: David Steele <david@pgmasters.net>
Date: Fri Mar 06 20:33:57 2020 +0000
Fix incorrect parameter in logging function.
src/common/compress/gz/compress.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/common/compress/gz/compress.c b/src/common/compress/gz/compress.c
index 4f124bcf2..2381387a0 100644
--- a/src/common/compress/gz/compress.c
+++ b/src/common/compress/gz/compress.c
@@ -43,7 +43,7 @@ gzCompressToLog(const GzCompress *this)
{
return strNewFmt(
"{inputSame: %s, done: %s, flushing: %s, availIn: %u}", cvtBoolToConstZ(this->inputSame), cvtBoolToConstZ(this->done),
- cvtBoolToConstZ(this->done), this->stream.avail_in);
+ cvtBoolToConstZ(this->flush), this->stream.avail_in);
}
#define FUNCTION_LOG_GZ_COMPRESS_TYPE \
[parent: 54bc3b454a18]