nostrdb: eq: fix fallthrough bug
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
committed by
Daniel D’Aquino
parent
64c16e7cc8
commit
5c75e87ed5
@@ -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);
|
b_custom = ndb_filter_get_custom_element(b_filt, b_field);
|
||||||
if (memcmp(a_custom, b_custom, sizeof(*a_custom)))
|
if (memcmp(a_custom, b_custom, sizeof(*a_custom)))
|
||||||
return 0;
|
return 0;
|
||||||
|
break;
|
||||||
case NDB_ELEMENT_UNKNOWN:
|
case NDB_ELEMENT_UNKNOWN:
|
||||||
return 0;
|
return 0;
|
||||||
case NDB_ELEMENT_STRING:
|
case NDB_ELEMENT_STRING:
|
||||||
|
|||||||
Reference in New Issue
Block a user