aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cpp/server
diff options
context:
space:
mode:
authorGravatar Abhishek Kumar <abhikumar@google.com>2015-08-05 10:25:35 -0700
committerGravatar Abhishek Kumar <abhikumar@google.com>2015-08-05 10:25:35 -0700
commit183c9f77a7506b4eeebc58ca5a98069d9617eced (patch)
tree34dc0c1618eba306edae1869d3f724cbe2a71b16 /src/cpp/server
parent832a8c1a9c69eefd84a2fae5f6870a65977bd24d (diff)
parentc5ae3eb8d65287c1e4493523196e2abb5aa86d2e (diff)
Merge pull request #2767 from ctiller/no-poop-on-pizza
Rename grpc_server_add_http2_port to grpc_server_add_insecure_http2_port
Diffstat (limited to 'src/cpp/server')
-rw-r--r--src/cpp/server/insecure_server_credentials.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpp/server/insecure_server_credentials.cc b/src/cpp/server/insecure_server_credentials.cc
index aca3568e59..800cd36caa 100644
--- a/src/cpp/server/insecure_server_credentials.cc
+++ b/src/cpp/server/insecure_server_credentials.cc
@@ -41,7 +41,7 @@ class InsecureServerCredentialsImpl GRPC_FINAL : public ServerCredentials {
public:
int AddPortToServer(const grpc::string& addr,
grpc_server* server) GRPC_OVERRIDE {
- return grpc_server_add_http2_port(server, addr.c_str());
+ return grpc_server_add_insecure_http2_port(server, addr.c_str());
}
};
} // namespace