Assert uri not null better

pull/3035/head
Craig Tiller 10 years ago
parent f5cf6fa478
commit 25de92c997
  1. 2
      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) {

Loading…
Cancel
Save