diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2019-01-14 16:29:18 -0200 |
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2019-01-14 16:33:21 -0200 |
| commit | 9f6de29901ed93e7db721b20e861c598364fa9a2 (patch) | |
| tree | 84d9db30030f04373a0ec4094dd551f48d1d4be4 /lib/lib_errors.c | |
| parent | f65fb6b4b4530b6f4aa7408a4e256017ccb0f2c2 (diff) | |
lib: don't abort when incomplete xpath is given by the user
Instead of aborting when an incomplete xpath is given to the
nb_oper_data_iterate() function, just return an error so that the
callers have a chance to treat this error. Aborting based on invalid
user input is never the right thing to do.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'lib/lib_errors.c')
0 files changed, 0 insertions, 0 deletions
