[PATCH] [MAMAC] Fix to mamaMsg_updateI64


Gary Molloy <GMolloy@...>
 

From f090db866498316381eb6d5f1add7840fb78bd33 Mon Sep 17 00:00:00 2001

From: Gary Molloy <gmolloy@...>

Date: Thu, 13 Dec 2012 15:58:06 +0000

Subject: [PATCH] [MAMAC] Fix to mamaMsg_updateI64

 

A call to the API mamaMsg_updateI64 was returning WRONG_FIELD_TYPE erroneously

 

Signed-off-by: Gary Molloy <gmolloy@...>

---

mama/c_cpp/src/c/msg.c |    2 +-

1 file changed, 1 insertion(+), 1 deletion(-)

 

diff --git a/mama/c_cpp/src/c/msg.c b/mama/c_cpp/src/c/msg.c

index faabd79..5fc5884 100644

--- a/mama/c_cpp/src/c/msg.c

+++ b/mama/c_cpp/src/c/msg.c

@@ -2038,7 +2038,7 @@ mamaMsg_updateI64 (

     if (!impl || !impl->mPayloadBridge) return MAMA_STATUS_NULL_ARG;

     if (!impl->mMessageOwner) return MAMA_STATUS_NOT_MODIFIABLE;

-    return impl->mPayloadBridge->msgPayloadUpdateU64 (impl->mPayload,

+    return impl->mPayloadBridge->msgPayloadUpdateI64 (impl->mPayload,

                                                       name,

                                                       fid,

                                                       value);

--

1.7.9.5

 

 

 

gmolloy@...

Gary Molloy

Software Engineer

NYSE Technologies

NYSE Euronext

 

NYSE Euronext

Powering the Exchanging World

www.nyse.com/technologies

 

Join Openmama-dev@lists.openmama.org to automatically receive all group messages.