34 lines
1.0 KiB
Diff
34 lines
1.0 KiB
Diff
From 9d2ae45d47ce5efd51db0213b9ea57430b16d85f Mon Sep 17 00:00:00 2001
|
|
From: Ken McDonell <kenj@kenj.id.au>
|
|
Date: Tue, 27 Aug 2024 08:44:27 +1000
|
|
Subject: [PATCH 17/19] src/libpcp/src/p_result.c: re-instate
|
|
__pmPrintResult_ctx() call in __pmDecodeResult_ctx()
|
|
|
|
Historically was guarded by:
|
|
pmDebugOptions.pdu
|
|
but a recent commit changed this to
|
|
pmDebugOptions.pdu && pmDebugOptions.desperate
|
|
which caused unfortunate QA fallout, so revert to the historical guard.
|
|
|
|
(cherry picked from commit f682445925db7dc0ee0b4d780da55061aec775af)
|
|
---
|
|
src/libpcp/src/p_result.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/libpcp/src/p_result.c b/src/libpcp/src/p_result.c
|
|
index 41481967b..878229f08 100644
|
|
--- a/src/libpcp/src/p_result.c
|
|
+++ b/src/libpcp/src/p_result.c
|
|
@@ -979,7 +979,7 @@ __pmDecodeResult_ctx(__pmContext *ctxp, __pmPDU *pdubuf, __pmResult **result)
|
|
return sts;
|
|
}
|
|
|
|
- if (pmDebugOptions.pdu && pmDebugOptions.desperate)
|
|
+ if (pmDebugOptions.pdu)
|
|
__pmPrintResult_ctx(ctxp, stderr, pr);
|
|
|
|
/*
|
|
--
|
|
2.43.0
|
|
|