aboutsummaryrefslogtreecommitdiff
path: root/qerror.h
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2012-07-20 13:30:18 -0300
committerLuiz Capitulino <lcapitulino@redhat.com>2012-08-13 13:19:52 -0300
commit2b38cf2e033d90fb50fc967f535935b170dc507d (patch)
tree1ac9ec5b947b22ceba04eea19d134458a1c40732 /qerror.h
parent5f0f0e13e1f714704d96f04050674c3102376409 (diff)
qerror: qerror_format(): return an allocated string
Simplifies current and future users. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'qerror.h')
-rw-r--r--qerror.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qerror.h b/qerror.h
index 3c0b14c645..aec76b24e1 100644
--- a/qerror.h
+++ b/qerror.h
@@ -34,7 +34,7 @@ QString *qerror_human(const QError *qerror);
void qerror_report(const char *fmt, ...) GCC_FMT_ATTR(1, 2);
void qerror_report_err(Error *err);
void assert_no_error(Error *err);
-QString *qerror_format(const char *fmt, QDict *error);
+char *qerror_format(const char *fmt, QDict *error);
/*
* QError class list