Skip to content
Snippets Groups Projects
Commit 8b34ab0a authored by Jan Tattermusch's avatar Jan Tattermusch
Browse files

Merge pull request #6552 from jboeuf/add_curlies

Add curlies for multiline if statements.
parents a8663fa5 8fd90740
No related branches found
No related tags found
No related merge requests found
...@@ -161,8 +161,9 @@ static int add_header(grpc_http_parser *parser) { ...@@ -161,8 +161,9 @@ static int add_header(grpc_http_parser *parser) {
cur++; cur++;
} }
if (cur == end) { if (cur == end) {
if (grpc_http1_trace) if (grpc_http1_trace) {
gpr_log(GPR_ERROR, "Didn't find ':' in header string"); gpr_log(GPR_ERROR, "Didn't find ':' in header string");
}
goto error; goto error;
} }
GPR_ASSERT(cur >= beg); GPR_ASSERT(cur >= beg);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment