diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/grpc++/impl/call.h | 3 | ||||
-rw-r--r-- | include/grpc++/security/auth_metadata_processor.h | 1 | ||||
-rw-r--r-- | include/grpc++/server.h | 7 | ||||
-rw-r--r-- | include/grpc/census.h | 4 | ||||
-rw-r--r-- | include/grpc/compression.h | 2 | ||||
-rw-r--r-- | include/grpc/grpc.h | 4 | ||||
-rw-r--r-- | include/grpc/grpc_security.h | 4 |
7 files changed, 11 insertions, 14 deletions
diff --git a/include/grpc++/impl/call.h b/include/grpc++/impl/call.h index 885a1075ad..df45d6f485 100644 --- a/include/grpc++/impl/call.h +++ b/include/grpc++/impl/call.h @@ -248,8 +248,7 @@ class CallOpRecvMessage { if (*status) { got_message = true; *status = SerializationTraits<R>::Deserialize(recv_buf_, message_, - max_message_size) - .ok(); + max_message_size).ok(); } else { got_message = false; grpc_byte_buffer_destroy(recv_buf_); diff --git a/include/grpc++/security/auth_metadata_processor.h b/include/grpc++/security/auth_metadata_processor.h index 9b9c06e3b6..25011f33ba 100644 --- a/include/grpc++/security/auth_metadata_processor.h +++ b/include/grpc++/security/auth_metadata_processor.h @@ -71,4 +71,3 @@ class AuthMetadataProcessor { } // namespace grpc #endif // GRPCXX_AUTH_METADATA_PROCESSOR_H_ - diff --git a/include/grpc++/server.h b/include/grpc++/server.h index 210fe020ad..1a62df5698 100644 --- a/include/grpc++/server.h +++ b/include/grpc++/server.h @@ -215,11 +215,10 @@ class Server GRPC_FINAL : public GrpcLibrary, private CallHook { bool FinalizeResult(void** tag, bool* status) GRPC_OVERRIDE { bool serialization_status = *status && payload_ && - SerializationTraits<Message>::Deserialize(payload_, request_, - server_->max_message_size_) - .ok(); + SerializationTraits<Message>::Deserialize( + payload_, request_, server_->max_message_size_).ok(); bool ret = RegisteredAsyncRequest::FinalizeResult(tag, status); - *status = serialization_status && *status; + *status = serialization_status&&* status; return ret; } diff --git a/include/grpc/census.h b/include/grpc/census.h index 2f36665d46..d0bc90420c 100644 --- a/include/grpc/census.h +++ b/include/grpc/census.h @@ -424,8 +424,8 @@ extern census_aggregation_ops census_agg_window; construction via census_define_view(). */ typedef struct { const census_aggregation_ops *ops; - const void - *create_arg; /* Argument to be used for aggregation initialization. */ + const void * + create_arg; /* Argument to be used for aggregation initialization. */ } census_aggregation; /** A census view type. Opaque. */ diff --git a/include/grpc/compression.h b/include/grpc/compression.h index 82e326fe0e..30163be2ff 100644 --- a/include/grpc/compression.h +++ b/include/grpc/compression.h @@ -95,7 +95,7 @@ void grpc_compression_options_init(grpc_compression_options *opts); /** Mark \a algorithm as enabled in \a opts. */ void grpc_compression_options_enable_algorithm( - grpc_compression_options *opts, grpc_compression_algorithm algorithm); + grpc_compression_options *opts, grpc_compression_algorithm algorithm); /** Mark \a algorithm as disabled in \a opts. */ void grpc_compression_options_disable_algorithm( diff --git a/include/grpc/grpc.h b/include/grpc/grpc.h index 47f3df6605..0c854a5b0c 100644 --- a/include/grpc/grpc.h +++ b/include/grpc/grpc.h @@ -595,8 +595,8 @@ grpc_call_error grpc_call_cancel_with_status(grpc_call *call, void grpc_call_destroy(grpc_call *call); /** Request notification of a new call. - Once a call is received, a notification tagged with \a tag_new is added to - \a cq_for_notification. \a call, \a details and \a request_metadata are + Once a call is received, a notification tagged with \a tag_new is added to + \a cq_for_notification. \a call, \a details and \a request_metadata are updated with the appropriate call information. \a cq_bound_to_call is bound to \a call, and batch operation notifications for that call will be posted to \a cq_bound_to_call. diff --git a/include/grpc/grpc_security.h b/include/grpc/grpc_security.h index 44ced4fb43..7a442e2ace 100644 --- a/include/grpc/grpc_security.h +++ b/include/grpc/grpc_security.h @@ -123,8 +123,8 @@ grpc_credentials *grpc_google_refresh_token_credentials_create( /* Creates an Oauth2 Access Token credentials with an access token that was aquired by an out of band mechanism. */ -grpc_credentials *grpc_access_token_credentials_create( - const char *access_token, void *reserved); +grpc_credentials *grpc_access_token_credentials_create(const char *access_token, + void *reserved); /* Creates an IAM credentials object for connecting to Google. */ grpc_credentials *grpc_google_iam_credentials_create( |