[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master e7109dfd9c1 2/3: Fix typo in pdumper.c
From: |
Pip Cet |
Subject: |
master e7109dfd9c1 2/3: Fix typo in pdumper.c |
Date: |
Mon, 5 Aug 2024 18:08:55 -0400 (EDT) |
branch: master
commit e7109dfd9c15312d20582efdde8c929c9a65282a
Author: Pip Cet <pipcet@protonmail.com>
Commit: Pip Cet <pipcet@protonmail.com>
Fix typo in pdumper.c
* src/pdumper.c (dump_interval_node): Call 'dump_field_fixup_later' with
the correct arguments. Discovered by Danny McClanahan.
---
src/pdumper.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/pdumper.c b/src/pdumper.c
index 53bddf91f04..0b8dab3a734 100644
--- a/src/pdumper.c
+++ b/src/pdumper.c
@@ -2136,9 +2136,9 @@ dump_interval_node (struct dump_context *ctx, struct
itree_node *node)
if (node->parent)
dump_field_fixup_later (ctx, &out, node, &node->parent);
if (node->left)
- dump_field_fixup_later (ctx, &out, node, &node->parent);
+ dump_field_fixup_later (ctx, &out, node, &node->left);
if (node->right)
- dump_field_fixup_later (ctx, &out, node, &node->parent);
+ dump_field_fixup_later (ctx, &out, node, &node->right);
DUMP_FIELD_COPY (&out, node, begin);
DUMP_FIELD_COPY (&out, node, end);
DUMP_FIELD_COPY (&out, node, limit);