You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by kg...@apache.org on 2019/01/09 20:41:10 UTC

[qpid-dispatch] branch master updated: DISPATCH-1240: prevent truncation of correlation id

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

kgiusti pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git


The following commit(s) were added to refs/heads/master by this push:
     new d202123  DISPATCH-1240: prevent truncation of correlation id
d202123 is described below

commit d202123a6174f459935486ce777b9b4553dfca7e
Author: Kenneth Giusti <kg...@apache.org>
AuthorDate: Tue Jan 8 11:50:06 2019 -0500

    DISPATCH-1240: prevent truncation of correlation id
    
    This closes #438
---
 src/router_core/core_client_api.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/router_core/core_client_api.c b/src/router_core/core_client_api.c
index 479a45f..3b32b31 100644
--- a/src/router_core/core_client_api.c
+++ b/src/router_core/core_client_api.c
@@ -26,7 +26,7 @@
 #include <time.h>
 
 #define CORRELATION_ID_LEN 32
-const char *CORRELATION_ID_FMT = "client-%016"PRIxPTR"%08"PRIx32;
+const char *CORRELATION_ID_FMT = "client-%016"PRIx64"%08"PRIx32;
 
 typedef struct qdrc_client_request_t qdrc_client_request_t;
 struct qdrc_client_request_t {


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