Fix chttp2 ping parser

pull/10087/head
Yuchen Zeng 8 years ago
parent 97129b0683
commit 32af871b1a
  1. 2
      src/core/ext/transport/chttp2/transport/frame_ping.c

@ -91,7 +91,7 @@ grpc_error *grpc_chttp2_ping_parser_parse(grpc_exec_ctx *exec_ctx, void *parser,
grpc_chttp2_ping_parser *p = parser;
while (p->byte != 8 && cur != end) {
p->opaque_8bytes |= (((uint64_t)*cur) << (8 * p->byte));
p->opaque_8bytes |= (((uint64_t)*cur) << (56 - 8 * p->byte));
cur++;
p->byte++;
}

Loading…
Cancel
Save