From 396eb8d27636cd63e15dc4321ac201d9e010a56b Mon Sep 17 00:00:00 2001 From: Mika Laitio Date: Sun, 6 Mar 2011 10:27:20 +0200 Subject: [PATCH] Fixed send_message_and_wait_response(BusMessage *msg_req_param, BusMessage **msg_rsp_param) Signed-off-by: Mika Laitio --- src/plpbus/BusClient.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plpbus/BusClient.cc b/src/plpbus/BusClient.cc index 42c47f7..da79689 100644 --- a/src/plpbus/BusClient.cc +++ b/src/plpbus/BusClient.cc @@ -143,6 +143,7 @@ int BusClient::send_message_and_wait_response(BusMessage *msg_req_param, BusMess seq_rsp = NULL; seq = (DataItemSequence *)msg_req_param->_dataItemSeq; _server->send_dataitem_message_and_wait_response(*seq, seq_rsp); + *msg_rsp_param = new BusMessageInternal(*seq_rsp); return 0; } -- 2.41.1