diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-10-02 20:59:29 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-10-02 20:59:29 +0200 |
commit | b63acee35b7e284ca1df23295d18a9aa132db120 (patch) | |
tree | 4dbc30340215f6f478fac10115787df927bd7837 | |
parent | 56c0a1a0647abc1f2bee1d64b92b4f25cab8290a (diff) |
lib: fix incorrect exception type check in ut_include()
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r-- | lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2067,7 +2067,7 @@ ut_include(struct ut_state *s, uint32_t off, struct json_object *args) json_object_put(scope); } - if (ut_is_type(rv, UT_ERROR_EXCEPTION)) + if (ut_is_type(rv, T_EXCEPTION)) return rv; json_object_put(rv); |