From aff12e3fa0be11042422d207d58f2bfe79cb1d0e Mon Sep 17 00:00:00 2001 From: gengjiawen Date: Mon, 4 Mar 2019 23:01:26 +0800 Subject: [PATCH] src: remove redundant call in inspector_io.cc --- src/inspector_io.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/inspector_io.cc b/src/inspector_io.cc index 161ba276dd9dbc..447269bb4952ce 100644 --- a/src/inspector_io.cc +++ b/src/inspector_io.cc @@ -292,7 +292,7 @@ void InspectorIo::ThreadMain() { script_path, script_name_)); InspectorSocketServer server(std::move(delegate), &loop, - host_port_->host().c_str(), + host_port_->host(), host_port_->port()); request_queue_ = queue->handle(); // Its lifetime is now that of the server delegate