aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python
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/python
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/python')
-rw-r--r--src/python/grpcio/grpc/_adapter/_c/types/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/grpcio/grpc/_adapter/_c/types/server.c b/src/python/grpcio/grpc/_adapter/_c/types/server.c
index 2a00f34039..c2190ea672 100644
--- a/src/python/grpcio/grpc/_adapter/_c/types/server.c
+++ b/src/python/grpcio/grpc/_adapter/_c/types/server.c
@@ -155,7 +155,7 @@ PyObject *pygrpc_Server_add_http2_port(
port = grpc_server_add_secure_http2_port(
self->c_serv, addr, creds->c_creds);
} else {
- port = grpc_server_add_http2_port(self->c_serv, addr);
+ port = grpc_server_add_insecure_http2_port(self->c_serv, addr);
}
return PyInt_FromLong(port);