summaryrefslogtreecommitdiff
path: root/upb/shim
diff options
context:
space:
mode:
authorJosh Haberman <jhaberman@gmail.com>2014-01-21 18:38:49 -0800
committerJosh Haberman <jhaberman@gmail.com>2014-01-21 18:38:49 -0800
commit0fd2f830882402979a83010e89650e7245960d39 (patch)
tree0968ca9424c5fb2433047519cbd54d3dd8d0b863 /upb/shim
parentce9bba3cb5409844f8f3d7dcc235a9ea30cad090 (diff)
Sync to internal Google development.
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