From d266abaa61cd595af9d7116ede5b44b252d8df53 Mon Sep 17 00:00:00 2001 From: Denis Biryukov Date: Thu, 11 Jul 2024 17:41:06 +0200 Subject: [PATCH] revert z_keyexpr_as_view_string_check --- src/api/api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/api.c b/src/api/api.c index 314ae409e..61d1cdba4 100644 --- a/src/api/api.c +++ b/src/api/api.c @@ -108,7 +108,7 @@ int8_t z_keyexpr_as_view_string(const z_loaned_keyexpr_t *keyexpr, z_view_string ret = _Z_ERR_GENERIC; } - return _Z_RES_OK; + return ret; } int8_t z_keyexpr_concat(z_owned_keyexpr_t *key, const z_loaned_keyexpr_t *left, const char *right, size_t len) {