Skip to content

Commit

Permalink
Pass pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
armstrongnate committed Jun 6, 2018
1 parent 706ed74 commit 2252397
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/CgRPC/shim/channel.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2252397

Please sign in to comment.