diff options
author | Mark D. Roth <roth@google.com> | 2018-12-06 08:34:08 -0800 |
---|---|---|
committer | Mark D. Roth <roth@google.com> | 2018-12-06 08:34:08 -0800 |
commit | f1f5d2fa8c8ceea386f0a69da2e3a4e78973db51 (patch) | |
tree | 565aea7726a444480ed76c2a34c4ccbc69e642a9 /src/core/ext/filters/client_channel/client_channel.cc | |
parent | 3a0fde868e966100e2b8b26f48b1719c995c4c5a (diff) |
Fix LB policy name case handling.
Diffstat (limited to 'src/core/ext/filters/client_channel/client_channel.cc')
-rw-r--r-- | src/core/ext/filters/client_channel/client_channel.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/ext/filters/client_channel/client_channel.cc b/src/core/ext/filters/client_channel/client_channel.cc index be7962261b..3347676a48 100644 --- a/src/core/ext/filters/client_channel/client_channel.cc +++ b/src/core/ext/filters/client_channel/client_channel.cc @@ -489,9 +489,9 @@ static void on_resolver_result_changed_locked(void* arg, grpc_error* error) { // taking a lock on chand->info_mu, because this function is the // only thing that modifies its value, and it can only be invoked // once at any given time. - bool lb_policy_name_changed = chand->info_lb_policy_name == nullptr || - gpr_stricmp(chand->info_lb_policy_name.get(), - lb_policy_name.get()) != 0; + bool lb_policy_name_changed = + chand->info_lb_policy_name == nullptr || + strcmp(chand->info_lb_policy_name.get(), lb_policy_name.get()) != 0; if (chand->lb_policy != nullptr && !lb_policy_name_changed) { // Continue using the same LB policy. Update with new addresses. if (grpc_client_channel_trace.enabled()) { |