Merge pull request #8565 from sreecha/linux_porta_failures

resource_quota.c: Fix compiler errors in gcc4.4 and 4.6
pull/8569/head
David G. Quintas 8 years ago committed by GitHub
commit de76cdbcb8
  1. 7
      src/core/lib/iomgr/resource_quota.c

@ -166,8 +166,11 @@ static void rq_step(grpc_exec_ctx *exec_ctx, void *rq, grpc_error *error) {
do {
if (rq_alloc(exec_ctx, resource_quota)) goto done;
} while (rq_reclaim_from_per_user_free_pool(exec_ctx, resource_quota));
rq_reclaim(exec_ctx, resource_quota, false) ||
rq_reclaim(exec_ctx, resource_quota, true);
if (!rq_reclaim(exec_ctx, resource_quota, false)) {
rq_reclaim(exec_ctx, resource_quota, true);
}
done:
grpc_resource_quota_internal_unref(exec_ctx, resource_quota);
}

Loading…
Cancel
Save