From abfc897b50532e5ed64f7f5497f80ef56abd3b26 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Thu, 24 Feb 2011 00:09:27 -0800 Subject: Pass the upb_fielddef* to the endmsg callback. --- src/upb_def.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/upb_def.c') diff --git a/src/upb_def.c b/src/upb_def.c index b12ed14..3b21443 100644 --- a/src/upb_def.c +++ b/src/upb_def.c @@ -1471,7 +1471,7 @@ static void upb_baredecoder_run(upb_src *src, upb_status *status) { } // Detect end-of-submessage. while(d->offset >= *top) { - CHECK(upb_dispatch_endsubmsg(&d->dispatcher)); + CHECK(upb_dispatch_endsubmsg(&d->dispatcher, &f)); d->offset = *(top--); } } -- cgit v1.2.3