Message ID | 1343424728-22461-14-git-send-email-lcapitulino@redhat.com |
---|---|
State | New |
Headers | show |
diff --git a/error.c b/error.c index acb10a2..cdeeafe 100644 --- a/error.c +++ b/error.c @@ -113,7 +113,7 @@ bool error_is_type(Error *err, const char *fmt) end = strchr(ptr, '\''); assert(end != NULL); - error_class = error_get_field(err, "class"); + error_class = qdict_get_str(err->obj, "class"); if (strlen(error_class) != end - ptr) { return false; }
It's going to be dropped. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> --- error.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)