diff --git a/include/grpc/impl/codegen/grpc_types.h b/include/grpc/impl/codegen/grpc_types.h index 5bd50bc9ac2..9ed5b3c1d4b 100644 --- a/include/grpc/impl/codegen/grpc_types.h +++ b/include/grpc/impl/codegen/grpc_types.h @@ -669,7 +669,7 @@ typedef struct grpc_experimental_completion_queue_functor { /** The run member specifies a function that will be called when this tag is extracted from the completion queue. Its arguments will be a pointer to this functor and a boolean that indicates whether the - success status of this operation */ + operation succeeded (non-zero) or failed (zero) */ void (*functor_run)(struct grpc_experimental_completion_queue_functor*, int); } grpc_experimental_completion_queue_functor; diff --git a/include/grpcpp/impl/codegen/callback_common.h b/include/grpcpp/impl/codegen/callback_common.h index ab96241ce8e..ca2f867d04d 100644 --- a/include/grpcpp/impl/codegen/callback_common.h +++ b/include/grpcpp/impl/codegen/callback_common.h @@ -66,7 +66,7 @@ class CallbackWithStatusTag CallbackWithStatusTag(grpc_call* call, std::function f, CompletionQueueTag* ops) - : call_(call), func_(std::move(f)), ops_(ops), status_() { + : call_(call), func_(std::move(f)), ops_(ops) { g_core_codegen_interface->grpc_call_ref(call); functor_run = &CallbackWithStatusTag::StaticRun; }