diff options
Diffstat (limited to '')
-rw-r--r-- | lib/dtree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dtree.c b/lib/dtree.c index e45d453..cc2fa91 100644 --- a/lib/dtree.c +++ b/lib/dtree.c @@ -343,7 +343,7 @@ dt_err dtree_parent(dtree *root, dtree *data, dtree **parent) /* Blank the search pointer for easy error checking */ (*parent) = NULL; - switch(data->type) { + switch(root->type) { /* Dead-end data stores automatically return @{NODE_NOT_FOUND} */ case POINTER: |