From 5c75e87ed5a3786dd8034445323db21d2020160a Mon Sep 17 00:00:00 2001 From: William Casarin Date: Wed, 9 Apr 2025 11:33:51 -0700 Subject: [PATCH] nostrdb: eq: fix fallthrough bug Signed-off-by: William Casarin --- nostrdb/src/nostrdb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/nostrdb/src/nostrdb.c b/nostrdb/src/nostrdb.c index f24ecd7e..9dd0e50c 100644 --- a/nostrdb/src/nostrdb.c +++ b/nostrdb/src/nostrdb.c @@ -1382,6 +1382,7 @@ static int ndb_filter_field_eq(struct ndb_filter *a_filt, b_custom = ndb_filter_get_custom_element(b_filt, b_field); if (memcmp(a_custom, b_custom, sizeof(*a_custom))) return 0; + break; case NDB_ELEMENT_UNKNOWN: return 0; case NDB_ELEMENT_STRING: