summaryrefslogtreecommitdiff
path: root/examples/dom-structure-dump.c
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2021-07-09 19:23:03 +0100
committerMichael Drake <michael.drake@codethink.co.uk>2021-07-09 19:23:03 +0100
commitade633dd4a93360cb25fbabc05c749a45950b8b9 (patch)
tree5d85b8aca3ba8b21afb21f0dfbc32996e1914882 /examples/dom-structure-dump.c
parent631f016a9ccff344f4dcb0b57e8ef1cf275e175c (diff)
downloadlibdom-ade633dd4a93360cb25fbabc05c749a45950b8b9.tar.gz
libdom-ade633dd4a93360cb25fbabc05c749a45950b8b9.tar.bz2
DOM Walker: Rename client private word parameter.
Diffstat (limited to 'examples/dom-structure-dump.c')
-rw-r--r--examples/dom-structure-dump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/dom-structure-dump.c b/examples/dom-structure-dump.c
index 2cdc7c5..189292d 100644
--- a/examples/dom-structure-dump.c
+++ b/examples/dom-structure-dump.c
@@ -259,9 +259,9 @@ enum dom_walk_cmd dump_dom_structure__cb(
enum dom_walk_stage stage,
dom_node_type type,
dom_node *node,
- void *ctx)
+ void *pw)
{
- int *depth = ctx;
+ int *depth = pw;
switch (type) {
case DOM_ELEMENT_NODE: