Repository: incubator-singa Updated Branches: refs/heads/master 0a228c8cc -> f66bf46f7
[SINGA-93] Remove the asterisk in the log tcp://169.254.12.152:*:49152 Project: http://git-wip-us.apache.org/repos/asf/incubator-singa/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-singa/commit/f66bf46f Tree: http://git-wip-us.apache.org/repos/asf/incubator-singa/tree/f66bf46f Diff: http://git-wip-us.apache.org/repos/asf/incubator-singa/diff/f66bf46f Branch: refs/heads/master Commit: f66bf46f787346678122c3bc518b93f1f0b49e67 Parents: 0a228c8 Author: hakeemzhai <hakeemzhai@tdw-10-66-79-143.(none)> Authored: Mon Oct 19 12:28:56 2015 +0800 Committer: hakeemzhai <hakeemzhai@tdw-10-66-79-143.(none)> Committed: Mon Oct 19 12:28:56 2015 +0800 ---------------------------------------------------------------------- src/comm/socket.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/f66bf46f/src/comm/socket.cc ---------------------------------------------------------------------- diff --git a/src/comm/socket.cc b/src/comm/socket.cc index 09a3b66..09a6913 100644 --- a/src/comm/socket.cc +++ b/src/comm/socket.cc @@ -120,7 +120,7 @@ int Router::Bind(const std::string& endpoint) { port = zsock_bind(router_, "%s", endpoint.c_str()); } CHECK_NE(port, -1) << endpoint; - LOG(INFO) << "bind successfully to " << endpoint + ":" + std::to_string(port); + LOG(INFO) << "bind successfully to " << zsock_endpoint(router_); return port; }
