This is an automated email from the ASF dual-hosted git repository.

wwbmmm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-brpc.git


The following commit(s) were added to refs/heads/master by this push:
     new a213e29  Fix compiler fail after merge #1560 and #1460
     new 0199f06  Merge pull request #1729 from wwbmmm/fix-compiler-fail
a213e29 is described below

commit a213e29221d78e698765668ecc1db2f96046fc1b
Author: wangweibing <[email protected]>
AuthorDate: Mon Mar 28 05:23:48 2022 +0000

    Fix compiler fail after merge #1560 and #1460
---
 src/brpc/server.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/brpc/server.cpp b/src/brpc/server.cpp
index 9daf9b1..f7b338a 100644
--- a/src/brpc/server.cpp
+++ b/src/brpc/server.cpp
@@ -1113,7 +1113,7 @@ int Server::Start(const char* ip_str, PortRange 
port_range,
 }
 
 int Server::Start(PortRange port_range, const ServerOptions* opt) {
-    return StartInternal(butil::IP_ANY, port_range, opt);
+    return StartInternal(butil::EndPoint(butil::IP_ANY, 0), port_range, opt);
 }
 
 int Server::Stop(int timeout_ms) {

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to