diff options
Diffstat (limited to 'src/upb_def.c')
-rw-r--r-- | src/upb_def.c | 2 |
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); |