You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by as...@apache.org on 2021/09/03 02:11:46 UTC

[qpid-proton] 01/02: PROTON-2429: Fix merging error

This is an automated email from the ASF dual-hosted git repository.

astitcher pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-proton.git

commit 7bc27ef4b24d590af97489b63b14d27f36d29624
Author: Andrew Stitcher <as...@apache.org>
AuthorDate: Thu Sep 2 21:59:52 2021 -0400

    PROTON-2429: Fix merging error
---
 c/src/core/message.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/c/src/core/message.c b/c/src/core/message.c
index 987ff20..092b6fc 100644
--- a/c/src/core/message.c
+++ b/c/src/core/message.c
@@ -565,7 +565,7 @@ int pn_message_set_correlation_id(pn_message_t *msg, pn_msgid_t id)
 {
   assert(msg);
   pn_data_rewind(msg->correlation_id);
-  return pn_data_put_atom(msg->correlation_id, atom);
+  return pn_data_put_atom(msg->correlation_id, id);
 }
 
 const char *pn_message_get_content_type(pn_message_t *msg)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org