summaryrefslogtreecommitdiff
path: root/core/upb.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/upb.c')
-rw-r--r--core/upb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/upb.c b/core/upb.c
index d581bbe..c396323 100644
--- a/core/upb.c
+++ b/core/upb.c
@@ -59,7 +59,7 @@ void upb_copyerr(upb_status *to, upb_status *from)
if(from->str) to->str = upb_string_getref(from->str);
}
-void upb_status_reset(upb_status *status) {
+void upb_clearerr(upb_status *status) {
status->code = UPB_STATUS_OK;
upb_string_unref(status->str);
status->str = NULL;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback