PROTON-1081: Add missing call to pn_error_format
Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/d80a792e Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/d80a792e Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/d80a792e Branch: refs/heads/master Commit: d80a792ea06f069060da3df12a50647ef8edb714 Parents: bcd6e0d Author: Justin Ross <jr...@apache.org> Authored: Fri Dec 8 08:13:15 2017 -0800 Committer: Justin Ross <jr...@apache.org> Committed: Fri Dec 8 08:13:15 2017 -0800 ---------------------------------------------------------------------- proton-c/src/core/message.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/d80a792e/proton-c/src/core/message.c ---------------------------------------------------------------------- diff --git a/proton-c/src/core/message.c b/proton-c/src/core/message.c index e1f235b..548636b 100644 --- a/proton-c/src/core/message.c +++ b/proton-c/src/core/message.c @@ -828,7 +828,7 @@ int pn_message_data(pn_message_t *msg, pn_data_t *data) err = pn_data_append(data, msg->properties); if (err) return pn_error_format(msg->error, err, "data error: %s", - pn_data_error(data)); + pn_error_text(pn_data_error(data))); pn_data_exit(data); } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org