Add curlies for multiline if statements.

pull/6552/head
Julien Boeuf 9 years ago
parent 93afc4b299
commit 8fd90740bf
  1. 3
      src/core/lib/http/parser.c

@ -161,8 +161,9 @@ static int add_header(grpc_http_parser *parser) {
cur++;
}
if (cur == end) {
if (grpc_http1_trace)
if (grpc_http1_trace) {
gpr_log(GPR_ERROR, "Didn't find ':' in header string");
}
goto error;
}
GPR_ASSERT(cur >= beg);

Loading…
Cancel
Save