From ca72d6cd3db2fc9f58ce8824f8686edf8c80c528 Mon Sep 17 00:00:00 2001 From: murgatroid99 Date: Fri, 4 Dec 2015 14:56:30 -0800 Subject: [PATCH] Fixed a hash key --- src/ruby/ext/grpc/rb_call_credentials.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ruby/ext/grpc/rb_call_credentials.c b/src/ruby/ext/grpc/rb_call_credentials.c index d8c8000fa9c..ff2a8d57bd6 100644 --- a/src/ruby/ext/grpc/rb_call_credentials.c +++ b/src/ruby/ext/grpc/rb_call_credentials.c @@ -101,7 +101,7 @@ static void *grpc_rb_call_credentials_callback_with_gil(void *param) { VALUE details; char *error_details; grpc_metadata_array_init(&md_ary); - rb_hash_aset(args, rb_str_new2("jwt_aud_uri"), auth_uri); + rb_hash_aset(args, ID2SYM(rb_intern("jwt_aud_uri")), auth_uri); rb_ary_push(callback_args, params->get_metadata); rb_ary_push(callback_args, args); result = rb_rescue(grpc_rb_call_credentials_callback, callback_args,