Skip to content

Commit

Permalink
fix wrong check
Browse files Browse the repository at this point in the history
  • Loading branch information
hendrikmuhs committed May 30, 2024
1 parent 108e4a8 commit 7c968ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keyvi/bin/keyvi_c/c_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ char* keyvi_match_get_value_as_string(const keyvi_match* match) {
keyvi_bytes keyvi_match_get_msgpacked_value(const struct keyvi_match* match) {
const keyvi_bytes empty_keyvi_bytes{0, nullptr};

if (match->obj_) {
if (!match->obj_) {
return empty_keyvi_bytes;
}

Expand Down

0 comments on commit 7c968ab

Please sign in to comment.