Skip to content

Commit 3cfc145

Browse files
committed
test
1 parent c492803 commit 3cfc145

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/validation.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1194,7 +1194,7 @@ lyd_validate_minmax(const struct lyd_node *first, const struct lyd_node *parent,
11941194

11951195
if (debug_node == NULL) {
11961196
/* Real world this shouldn't happen, but test cases there may be no parent */
1197-
if (first && first->nodetype == LYS_LIST) {
1197+
if (first && first->schema->nodetype == LYS_LIST) {
11981198
debug_node = first;
11991199
} else {
12001200
snprintf(suffix_path, sizeof(suffix_path), "/%s:%s", snode->module->name, snode->name);

0 commit comments

Comments
 (0)