aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2017-04-30 10:51:38 -0700
committerGravatar Muxi Yan <mxyan@google.com>2017-04-30 10:53:19 -0700
commit286b696f81b2df28229918253c5311b5f1984ea3 (patch)
tree3e7a7efb766812955cc7d78c4ac261813bbe1d67 /src
parent1a138e9629a1c9ee3b8d09c5a49e165770b1d589 (diff)
Sanity fix
Diffstat (limited to 'src')
-rw-r--r--src/core/ext/filters/workarounds/workaround_cronet_compression_filter.c5
-rw-r--r--src/core/ext/filters/workarounds/workaround_utils.h4
2 files changed, 4 insertions, 5 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 dda39a450b..d5f9767f2b 100644
--- a/src/core/ext/filters/workarounds/workaround_cronet_compression_filter.c
+++ b/src/core/ext/filters/workarounds/workaround_cronet_compression_filter.c
@@ -40,7 +40,7 @@
#include "src/core/lib/surface/channel_init.h"
#include "src/core/lib/transport/metadata.h"
- typedef struct call_data {
+typedef struct call_data {
// Receive closures are chained: we inject this closure as the
// recv_initial_metadata_ready up-call on transport_stream_op, and remember to
// call our next_recv_initial_metadata_ready member after handling it.
@@ -187,8 +187,7 @@ static bool parse_user_agent(grpc_mdelem md) {
gpr_free(user_agent_str);
return (grpc_objc_specifier_seen && cronet_specifier_seen &&
- (major_version < 1 ||
- (major_version == 1 && minor_version <= 3)));
+ (major_version < 1 || (major_version == 1 && minor_version <= 3)));
}
const grpc_channel_filter grpc_workaround_cronet_compression_filter = {
diff --git a/src/core/ext/filters/workarounds/workaround_utils.h b/src/core/ext/filters/workarounds/workaround_utils.h
index 6e6e159583..54d19b85f5 100644
--- a/src/core/ext/filters/workarounds/workaround_utils.h
+++ b/src/core/ext/filters/workarounds/workaround_utils.h
@@ -29,8 +29,8 @@
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//
-#ifndef GRPC_CORE_EXT_FILTERS_WORKAROUNDS_WORKAROUND_UTILS
-#define GRPC_CORE_EXT_FILTERS_WORKAROUNDS_WORKAROUND_UTILS
+#ifndef GRPC_CORE_EXT_FILTERS_WORKAROUNDS_WORKAROUND_UTILS_H
+#define GRPC_CORE_EXT_FILTERS_WORKAROUNDS_WORKAROUND_UTILS_H
#include "src/core/lib/transport/metadata.h"