]> pilppa.com Git - libplpbus.git/commitdiff
Fixed send_message_and_wait_response(BusMessage *msg_req_param,
authorMika Laitio <lamikr@pilppa.org>
Sun, 6 Mar 2011 08:27:20 +0000 (10:27 +0200)
committerMika Laitio <lamikr@pilppa.org>
Sun, 6 Mar 2011 08:27:20 +0000 (10:27 +0200)
BusMessage **msg_rsp_param)

Signed-off-by: Mika Laitio <lamikr@pilppa.org>
src/plpbus/BusClient.cc

index 42c47f744d9715248cc25d73f6c159520903f812..da79689bbe67936cbb479fd66985141918c6300c 100644 (file)
@@ -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;
 }