Merge pull request #10344 from ncteisen/fixfix

Fix Bug from Error Slice Optimization
pull/10357/head
Noah Eisen 8 years ago committed by GitHub
commit d072757647
  1. 2
      src/core/lib/surface/call.c

@ -625,7 +625,7 @@ static bool get_final_status_from(
void (*set_value)(grpc_status_code code, void *user_data),
void *set_value_user_data, grpc_slice *details) {
grpc_status_code code;
grpc_slice slice;
grpc_slice slice = grpc_empty_slice();
grpc_error_get_status(error, call->send_deadline, &code, &slice, NULL);
if (code == GRPC_STATUS_OK && !allow_ok_status) {
return false;

Loading…
Cancel
Save