aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/ext/filters/client_channel/uri_parser.c
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2017-04-15 10:29:46 -0700
committerGravatar David Garcia Quintas <dgq@google.com>2017-04-15 10:29:46 -0700
commit53af23cfbf3b1fd4579ec084dbcb7b89a7ae2e96 (patch)
tree8bcd423693b57b053d90b64fc08edc54eede8178 /src/core/ext/filters/client_channel/uri_parser.c
parenta8b8aeac2067bf5efc0c261537578878285bf376 (diff)
Improvements to Fake Resolver
Diffstat (limited to 'src/core/ext/filters/client_channel/uri_parser.c')
-rw-r--r--src/core/ext/filters/client_channel/uri_parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ext/filters/client_channel/uri_parser.c b/src/core/ext/filters/client_channel/uri_parser.c
index f28db59e27..b233d835cb 100644
--- a/src/core/ext/filters/client_channel/uri_parser.c
+++ b/src/core/ext/filters/client_channel/uri_parser.c
@@ -50,7 +50,7 @@
#define NOT_SET (~(size_t)0)
static grpc_uri *bad_uri(const char *uri_text, size_t pos, const char *section,
- int suppress_errors) {
+ bool suppress_errors) {
char *line_prefix;
size_t pfx_len;
@@ -197,7 +197,7 @@ static void parse_query_parts(grpc_uri *uri) {
}
grpc_uri *grpc_uri_parse(grpc_exec_ctx *exec_ctx, const char *uri_text,
- int suppress_errors) {
+ bool suppress_errors) {
grpc_uri *uri;
size_t scheme_begin = 0;
size_t scheme_end = NOT_SET;