commit | b7db73a93b03337f03fdd0a9268b12667c5af534 | [log] [tgz] |
---|---|---|
author | Radek Krejci <rkrejci@cesnet.cz> | Wed Oct 24 14:18:40 2018 +0200 |
committer | Radek Krejci <rkrejci@cesnet.cz> | Wed Oct 24 14:18:40 2018 +0200 |
tree | 3794430d32aac031c1f7947d0805baccee95469d | |
parent | 6caa6ab93cad33337ae323baf35795d99a4f58d5 [diff] [blame] |
schemas FEATURE add schema getters from the context Also check for the duplicities in the context when parsing a new schema.
diff --git a/src/parser_yang.c b/src/parser_yang.c index 434073d..7ea75c6 100644 --- a/src/parser_yang.c +++ b/src/parser_yang.c
@@ -1424,7 +1424,7 @@ return LY_EVALID; } - strncpy(rev->rev, word, word_len); + strncpy(rev->date, word, word_len); free(buf); YANG_READ_SUBSTMT_FOR(ctx, data, kw, word, word_len, ret) {