From: Mika Laitio Date: Sun, 6 Mar 2011 08:27:20 +0000 (+0200) Subject: Fixed send_message_and_wait_response(BusMessage *msg_req_param, X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=396eb8d27636cd63e15dc4321ac201d9e010a56b;p=libplpbus.git Fixed send_message_and_wait_response(BusMessage *msg_req_param, BusMessage **msg_rsp_param) Signed-off-by: Mika Laitio --- 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; }