From 22523979e5a61d24cbcd2242fd6a1b7fe049100d Mon Sep 17 00:00:00 2001 From: Nate Armstrong Date: Mon, 4 Jun 2018 08:11:41 -0600 Subject: [PATCH] Pass pointer --- Sources/CgRPC/shim/channel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/CgRPC/shim/channel.c b/Sources/CgRPC/shim/channel.c index b6ea8fc17..da90e76d9 100644 --- a/Sources/CgRPC/shim/channel.c +++ b/Sources/CgRPC/shim/channel.c @@ -56,7 +56,7 @@ cgrpc_channel *cgrpc_channel_create_secure(const char *address, client_credentials.private_key = client_private_key; client_credentials_pointer = &client_credentials; } - grpc_channel_credentials *creds = grpc_ssl_credentials_create(pem_root_certs, client_credentials, NULL); + grpc_channel_credentials *creds = grpc_ssl_credentials_create(pem_root_certs, client_credentials_pointer, NULL); c->channel = grpc_secure_channel_create(creds, address, &channel_args, NULL); c->completion_queue = grpc_completion_queue_create_for_next(NULL);