From 0fd2f830882402979a83010e89650e7245960d39 Mon Sep 17 00:00:00 2001 From: Josh Haberman Date: Tue, 21 Jan 2014 18:38:49 -0800 Subject: Sync to internal Google development. --- upb/shim/shim.c | 1 + 1 file changed, 1 insertion(+) (limited to 'upb/shim') 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: \ -- cgit v1.2.3