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

rbulter pushed a commit to branch hotfix/fix_tcp_admin_deserialize
in repository https://gitbox.apache.org/repos/asf/celix.git

commit 85427cfc7b71057e32843962760245e29f295907
Author: Roy Bulter <[email protected]>
AuthorDate: Mon May 11 13:56:14 2020 +0200

    Fix deserialize in tcp admin
---
 bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_topic_receiver.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_topic_receiver.c 
b/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_topic_receiver.c
index afeb48c..8cbf8fc 100644
--- a/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_topic_receiver.c
+++ b/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_topic_receiver.c
@@ -537,7 +537,7 @@ processMsgForSubscriberEntry(pubsub_tcp_topic_receiver_t 
*receiver, psa_tcp_subs
             struct iovec deSerializeBuffer;
             deSerializeBuffer.iov_base = message->payload.payload;
             deSerializeBuffer.iov_len = message->payload.length;
-            celix_status_t status = msgSer->deserialize(msgSer->handle, 
&deSerializeBuffer, 0, &deSerializedMsg);
+            celix_status_t status = msgSer->deserialize(msgSer->handle, 
&deSerializeBuffer, 1, &deSerializedMsg);
             if (monitor) {
                 clock_gettime(CLOCK_REALTIME, &endSer);
             }

Reply via email to