summaryrefslogtreecommitdiff
path: root/upb/shim
diff options
context:
space:
mode:
Diffstat (limited to 'upb/shim')
-rw-r--r--upb/shim/shim.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/upb/shim/shim.c b/upb/shim/shim.c
index 5c3e026..797a2d1 100644
--- a/upb/shim/shim.c
+++ b/upb/shim/shim.c
@@ -38,6 +38,7 @@ bool upb_shim_set(upb_handlers *h, const upb_fielddef *f, size_t offset,
upb_handlerattr attr = UPB_HANDLERATTR_INITIALIZER;
upb_handlerattr_sethandlerdata(&attr, d, free);
+ upb_handlerattr_setalwaysok(&attr, true);
#define TYPE(u, l) \
case UPB_TYPE_##u: \
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback