You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by kp...@apache.org on 2018/01/24 23:05:41 UTC

qpid-cpp git commit: QPID-8075: Fixed issue by changing the correlation-id sent to QMF from a 8-byte binary to a 4-byte string. Now works in Python 2 and Python 3.

Repository: qpid-cpp
Updated Branches:
  refs/heads/master 1e3668653 -> e37969a8c


QPID-8075: Fixed issue by changing the correlation-id sent to QMF from a 8-byte binary to a 4-byte string. Now works in Python 2 and Python 3.


Project: http://git-wip-us.apache.org/repos/asf/qpid-cpp/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-cpp/commit/e37969a8
Tree: http://git-wip-us.apache.org/repos/asf/qpid-cpp/tree/e37969a8
Diff: http://git-wip-us.apache.org/repos/asf/qpid-cpp/diff/e37969a8

Branch: refs/heads/master
Commit: e37969a8c19da7aa1c6400af2facecfec6b5f702
Parents: 1e36686
Author: Kim van der Riet <kv...@localhost.localdomain>
Authored: Wed Jan 24 18:05:19 2018 -0500
Committer: Kim van der Riet <kv...@localhost.localdomain>
Committed: Wed Jan 24 18:05:19 2018 -0500

----------------------------------------------------------------------
 management/python/lib/qmf/client.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-cpp/blob/e37969a8/management/python/lib/qmf/client.py
----------------------------------------------------------------------
diff --git a/management/python/lib/qmf/client.py b/management/python/lib/qmf/client.py
index 3ba8e4b..89beaca 100644
--- a/management/python/lib/qmf/client.py
+++ b/management/python/lib/qmf/client.py
@@ -104,7 +104,7 @@ class SyncRequestResponse(IncomingMessageHandler):
         self.lock.acquire()
         try:
             self._cid += 1;
-            return struct.pack("L", self._cid)
+            return struct.pack("I", self._cid).decode('ascii')
         finally:
             self.lock.release()
 


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