summaryrefslogtreecommitdiff
path: root/src/upb_handlers.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/upb_handlers.c')
-rw-r--r--src/upb_handlers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/upb_handlers.c b/src/upb_handlers.c
index e630975..c29281a 100644
--- a/src/upb_handlers.c
+++ b/src/upb_handlers.c
@@ -123,9 +123,9 @@ static upb_mhandlers *upb_regmsg_dfs(upb_handlers *h, upb_msgdef *m,
fieldreg_cb, closure, mtab);
}
fh = upb_mhandlers_newfhandlers_subm(
- mh, f->number, f->type, upb_isarray(f), sub_mh);
+ mh, f->number, f->type, upb_isseq(f), sub_mh);
} else {
- fh = upb_mhandlers_newfhandlers(mh, f->number, f->type, upb_isarray(f));
+ fh = upb_mhandlers_newfhandlers(mh, f->number, f->type, upb_isseq(f));
}
if (fieldreg_cb) fieldreg_cb(closure, fh, f);
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback