Skip to content
Snippets Groups Projects
Commit 539a864d authored by Mark D. Roth's avatar Mark D. Roth
Browse files

Fixed dumb reversed conditional.

parent b43c7bfb
No related branches found
No related tags found
No related merge requests found
...@@ -144,7 +144,7 @@ grpc_channel *grpc_secure_channel_create(grpc_channel_credentials *creds, ...@@ -144,7 +144,7 @@ grpc_channel *grpc_secure_channel_create(grpc_channel_credentials *creds,
"secure_client_channel_factory_create_channel"); "secure_client_channel_factory_create_channel");
grpc_channel_args_destroy(&exec_ctx, new_args); grpc_channel_args_destroy(&exec_ctx, new_args);
grpc_exec_ctx_finish(&exec_ctx); grpc_exec_ctx_finish(&exec_ctx);
return channel == NULL ? channel return channel != NULL ? channel
: grpc_lame_client_channel_create( : grpc_lame_client_channel_create(
target, GRPC_STATUS_INTERNAL, target, GRPC_STATUS_INTERNAL,
"Failed to create secure client channel"); "Failed to create secure client channel");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment