Merge pull request #6552 from jboeuf/add_curlies

Add curlies for multiline if statements.
pull/6576/head
Jan Tattermusch 9 years ago
commit 8b34ab0a35
  1. 3
      src/core/lib/http/parser.c

@ -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);

Loading…
Cancel
Save