aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ruby/ext
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-08-03 10:42:22 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-08-03 10:42:22 -0700
commitc5ae3eb8d65287c1e4493523196e2abb5aa86d2e (patch)
tree02ab0892a469bb6de2e786e36299f11408323bb9 /src/ruby/ext
parente2e8eacb3e93f64abdfbf234679caea2ef400103 (diff)
Rename grpc_server_add_http2_port to grpc_server_add_insecure_http2_port
Diffstat (limited to 'src/ruby/ext')
-rw-r--r--src/ruby/ext/grpc/rb_server.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ruby/ext/grpc/rb_server.c b/src/ruby/ext/grpc/rb_server.c
index 375a651d24..79a4ae8757 100644
--- a/src/ruby/ext/grpc/rb_server.c
+++ b/src/ruby/ext/grpc/rb_server.c
@@ -357,7 +357,8 @@ static VALUE grpc_rb_server_add_http2_port(int argc, VALUE *argv, VALUE self) {
rb_raise(rb_eRuntimeError, "destroyed!");
return Qnil;
} else if (rb_creds == Qnil) {
- recvd_port = grpc_server_add_http2_port(s->wrapped, StringValueCStr(port));
+ recvd_port =
+ grpc_server_add_insecure_http2_port(s->wrapped, StringValueCStr(port));
if (recvd_port == 0) {
rb_raise(rb_eRuntimeError,
"could not add port %s to server, not sure why",