Skip to content
Snippets Groups Projects
Commit e77ba09b authored by Muxi Yan's avatar Muxi Yan Committed by GitHub
Browse files

Merge pull request #11229 from muxi/backward-compat-import-fix

Fix minor problems in server backward compatibility
parents 1563b9fe 191f1eb4
No related branches found
No related tags found
No related merge requests found
...@@ -83,10 +83,11 @@ void chttp2_init_client_fullstack(grpc_end2end_test_fixture *f, ...@@ -83,10 +83,11 @@ void chttp2_init_client_fullstack(grpc_end2end_test_fixture *f,
void chttp2_init_server_fullstack(grpc_end2end_test_fixture *f, void chttp2_init_server_fullstack(grpc_end2end_test_fixture *f,
grpc_channel_args *server_args) { grpc_channel_args *server_args) {
int i;
grpc_exec_ctx exec_ctx = GRPC_EXEC_CTX_INIT; grpc_exec_ctx exec_ctx = GRPC_EXEC_CTX_INIT;
fullstack_fixture_data *ffd = f->fixture_data; fullstack_fixture_data *ffd = f->fixture_data;
grpc_arg args[GRPC_MAX_WORKAROUND_ID]; grpc_arg args[GRPC_MAX_WORKAROUND_ID];
for (uint32_t i = 0; i < GRPC_MAX_WORKAROUND_ID; i++) { for (i = 0; i < GRPC_MAX_WORKAROUND_ID; i++) {
args[i].key = workarounds_arg[i]; args[i].key = workarounds_arg[i];
args[i].type = GRPC_ARG_INTEGER; args[i].type = GRPC_ARG_INTEGER;
args[i].value.integer = 1; args[i].value.integer = 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment