diff options
-rw-r--r-- | src/core/client_config/resolver_registry.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/client_config/resolver_registry.c b/src/core/client_config/resolver_registry.c index 886ca5d06d..37979b3b86 100644 --- a/src/core/client_config/resolver_registry.c +++ b/src/core/client_config/resolver_registry.c @@ -90,7 +90,7 @@ static grpc_resolver_factory *resolve_factory(const char *target, char *tmp; grpc_resolver_factory *factory = NULL; - GPR_ASSERT(uri); + GPR_ASSERT(uri != NULL); *uri = grpc_uri_parse(target, 1); factory = lookup_factory(*uri); if (factory == NULL) { |