diff options
author | gengjiawen <technicalcute@gmail.com> | 2019-03-04 18:01:26 +0300 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2019-03-07 06:28:00 +0300 |
commit | f25c5ad34498b8f7e14e875b7d5a6d9072f4b879 (patch) | |
tree | 6df85c2130c45710ff3fb1e3fa53ae0afc01623f /src/inspector_io.cc | |
parent | 9f2bde5da501ece2faa980aeef7c7c30d30268f8 (diff) |
src: remove redundant call in inspector_io.cc
PR-URL: https://github.com/nodejs/node/pull/26427
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Diffstat (limited to 'src/inspector_io.cc')
-rw-r--r-- | src/inspector_io.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspector_io.cc b/src/inspector_io.cc index 161ba276dd9..447269bb495 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 |