From 5e6d656e52c67623fc501d420b8feed14314d712 Mon Sep 17 00:00:00 2001 From: Michal Michalski Date: Fri, 12 Apr 2019 09:15:48 +0200 Subject: [PATCH] [mediacontroller] Fix pointer-related bug. [Verification] Code builds and testted sendCommand function in chrome console. Change-Id: I3045684b11e85a756854f999ed42c74721bb0ae5 Signed-off-by: Michal Michalski --- src/mediacontroller/mediacontroller_client.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mediacontroller/mediacontroller_client.cc b/src/mediacontroller/mediacontroller_client.cc index c2c59d7d..67b91898 100644 --- a/src/mediacontroller/mediacontroller_client.cc +++ b/src/mediacontroller/mediacontroller_client.cc @@ -515,7 +515,7 @@ PlatformResult MediaControllerClient::SendCommand(const std::string& server_name } ret = - mc_client_send_custom_cmd(handle_, server_name.c_str(), command.c_str(), bundle, &request_id); + mc_client_send_custom_cmd(handle_, server_name.c_str(), command.c_str(), bundle, request_id); if (MEDIA_CONTROLLER_ERROR_NONE != ret) { return LogAndCreateResult( ErrorCode::UNKNOWN_ERR, "Error sending custom command", -- 2.34.1