commit | 4f2f5bafb93019c8d28458efbf675d398c58ec40 | [log] [tgz] |
---|---|---|
author | David Sedlák <xsedla1d@stud.fit.vutbr.cz> | Thu Aug 15 13:18:48 2019 +0200 |
committer | David Sedlák <xsedla1d@stud.fit.vutbr.cz> | Thu Aug 15 13:18:48 2019 +0200 |
tree | 03785953d674add0a46fc89670ab58a074f1b446 | |
parent | 234a91fbd03d800812ee51d0f5712ecb534c8f47 [diff] |
tree schema BUGFIX use initialized context for logging
diff --git a/src/tree_schema.c b/src/tree_schema.c index 25c4d64..6f45540 100644 --- a/src/tree_schema.c +++ b/src/tree_schema.c
@@ -609,7 +609,7 @@ ret = yang_parse_submodule(&context, ctx, main_ctx, data, &submod); break; default: - LOGERR((*context).ctx, LY_EINVAL, "Invalid schema input format."); + LOGERR(ctx, LY_EINVAL, "Invalid schema input format."); break; } LY_CHECK_RET(ret, NULL);