summaryrefslogtreecommitdiff
path: root/src/upb_def.c
diff options
context:
space:
mode:
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 24a57a6..2ab1d11 100644
--- a/src/upb_def.c
+++ b/src/upb_def.c
@@ -829,7 +829,7 @@ void upb_symtab_add_desc(struct upb_symtab *s, upb_strptr desc,
struct upb_status *status)
{
upb_msg *fds = upb_msg_new(s->fds_msgdef);
- upb_msg_parsestr(fds, s->fds_msgdef, desc, status);
+ upb_msg_decodestr(fds, s->fds_msgdef, desc, status);
if(!upb_ok(status)) return;
upb_symtab_addfds(s, (google_protobuf_FileDescriptorSet*)fds, status);
upb_msg_unref(fds, s->fds_msgdef);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback