summaryrefslogtreecommitdiff
path: root/src/upb_def.c
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2011-02-24 00:09:27 -0800
committerJoshua Haberman <joshua@reverberate.org>2011-02-24 00:09:27 -0800
commitabfc897b50532e5ed64f7f5497f80ef56abd3b26 (patch)
tree003c19da802085acb293d0b7d30026e9ad1adc56 /src/upb_def.c
parent4d6585290955613b23e5ade89794fb465cb7ec3a (diff)
Pass the upb_fielddef* to the endmsg callback.
Diffstat (limited to 'src/upb_def.c')
-rw-r--r--src/upb_def.c2
1 files changed, 1 insertions, 1 deletions
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--);
}
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback