commit | 93ab61782c232a45e4a85565221e004d2bb910e5 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Fri Feb 16 15:58:12 2018 +0100 |
committer | Michal Vasko <mvasko@cesnet.cz> | Fri Feb 16 15:58:12 2018 +0100 |
tree | 0c4b8715d997bfbb1b67c9e8010f4b995a83d444 | |
parent | 8b47bf8203bc0105fc9de0f27b59df420d6cbc80 [diff] [blame] |
lnc2 MAINTENANCE minor bugfixes
diff --git a/src/messages_server.c b/src/messages_server.c index 25a6eaa..6adc987 100644 --- a/src/messages_server.c +++ b/src/messages_server.c
@@ -846,7 +846,8 @@ elem = elem->next; if (!elem) { /* error */ - break; + ERRARG("event"); + return NULL; } goto next_node; case LYS_CONTAINER: @@ -856,8 +857,8 @@ break; default: /* error */ - elem = NULL; - break; + ERRARG("event"); + return NULL; } } if (!elem) {