| Submitter | Luiz Capitulino |
|---|---|
| Date | July 27, 2012, 9:31 p.m. |
| Message ID | <1343424728-22461-14-git-send-email-lcapitulino@redhat.com> |
| Download | mbox | patch |
| Permalink | /patch/173809/ |
| State | New |
| Headers | show |
Comments
Patch
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(-)