aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/ext/filters/workarounds
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2017-05-10 15:18:02 -0700
committerGravatar Muxi Yan <mxyan@google.com>2017-05-10 15:18:02 -0700
commit16fd216b0e01ee92c618bd098eeb446336f8cc3b (patch)
treeef9f61afc82cd2a02f36434f5728baf0a3d0c0a6 /src/core/ext/filters/workarounds
parent25d71cd6d8c34636d08f3ad2a9e2eeb69c3a3905 (diff)
Fix portability test
Diffstat (limited to 'src/core/ext/filters/workarounds')
-rw-r--r--src/core/ext/filters/workarounds/workaround_cronet_compression_filter.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/core/ext/filters/workarounds/workaround_cronet_compression_filter.c b/src/core/ext/filters/workarounds/workaround_cronet_compression_filter.c
index 7872ef2d12..7fb75e3a4f 100644
--- a/src/core/ext/filters/workarounds/workaround_cronet_compression_filter.c
+++ b/src/core/ext/filters/workarounds/workaround_cronet_compression_filter.c
@@ -54,9 +54,6 @@ typedef struct call_data {
bool workaround_active;
} call_data;
-typedef struct channel_data {
-} channel_data;
-
// Find the user agent metadata element in the batch
static bool get_user_agent_mdelem(const grpc_metadata_batch* batch,
grpc_mdelem* md) {
@@ -192,7 +189,7 @@ const grpc_channel_filter grpc_workaround_cronet_compression_filter = {
init_call_elem,
grpc_call_stack_ignore_set_pollset_or_pollset_set,
destroy_call_elem,
- sizeof(channel_data),
+ 0,
init_channel_elem,
destroy_channel_elem,
grpc_call_next_get_peer,