From 559e23c796f973a65d05c76e211835b126ee8ac8 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Fri, 17 Jun 2011 10:34:29 -0700 Subject: Major refactoring: abandon upb_msg, add upb_accessors. Next on the chopping block is upb_string. --- src/upb_handlers.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/upb_handlers.c') 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); } -- cgit v1.2.3