From c0a87a7720a15f8b88878b8772207e1ca0641749 Mon Sep 17 00:00:00 2001 From: Hwankyu Jhun Date: Tue, 23 Jun 2020 07:31:11 +0900 Subject: [PATCH] Fix wrong log messages Change-Id: I56aacaaf7f96cc6a370bfae7595d4c54c7a918a2 Signed-off-by: Hwankyu Jhun --- src/rpc-port.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rpc-port.cc b/src/rpc-port.cc index 257123e..efae3d6 100644 --- a/src/rpc-port.cc +++ b/src/rpc-port.cc @@ -220,9 +220,9 @@ RPC_API int rpc_port_proxy_create(rpc_port_proxy_h* h) { if (h == nullptr) return RPC_PORT_ERROR_INVALID_PARAMETER; - _W("rpc_port_proxy_create(%p)", h); auto p = new ::ProxyExt(); *h = p; + _W("rpc_port_proxy_create(%p)", p); return RPC_PORT_ERROR_NONE; } @@ -350,9 +350,9 @@ RPC_API int rpc_port_stub_create(rpc_port_stub_h* h, const char* port_name) { if (h == nullptr || port_name == nullptr) return RPC_PORT_ERROR_INVALID_PARAMETER; - _W("rpc_port_stub_create(%p, %s)", h, port_name); auto p = new ::StubExt(port_name); *h = p; + _W("rpc_port_stub_create(%p, %s)", p, port_name); return RPC_PORT_ERROR_NONE; } -- 2.7.4