Skip to content
Snippets Groups Projects
Commit 00a2d182 authored by Craig Tiller's avatar Craig Tiller
Browse files

Fix flipped conditional

parent ef693847
No related branches found
No related tags found
No related merge requests found
...@@ -136,7 +136,7 @@ grpc_channel *grpc_channel_create(grpc_exec_ctx *exec_ctx, const char *target, ...@@ -136,7 +136,7 @@ grpc_channel *grpc_channel_create(grpc_exec_ctx *exec_ctx, const char *target,
gpr_log(GPR_ERROR, "%s ignored: it must be a string", gpr_log(GPR_ERROR, "%s ignored: it must be a string",
GRPC_SSL_TARGET_NAME_OVERRIDE_ARG); GRPC_SSL_TARGET_NAME_OVERRIDE_ARG);
} else { } else {
if (GRPC_MDISNULL(channel->default_authority)) { if (!GRPC_MDISNULL(channel->default_authority)) {
/* other ways of setting this (notably ssl) take precedence */ /* other ways of setting this (notably ssl) take precedence */
gpr_log(GPR_ERROR, gpr_log(GPR_ERROR,
"%s ignored: default host already set some other way", "%s ignored: default host already set some other way",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment