aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Craig Tiller <craig.tiller@gmail.com>2015-06-15 07:49:08 -0700
committerGravatar Craig Tiller <craig.tiller@gmail.com>2015-06-15 07:49:08 -0700
commitb68bcd366ff3cecc01fc67807def527d3b4cb33e (patch)
treed0458bbbd689fba368e92a6cdee6bd88c6993f4e
parentf61af6584f9521e69bd54e6e4a8a8ccebfdb0239 (diff)
parent255971d99a5c4cd447f2d97dbfc19155d659249a (diff)
Merge pull request #2056 from endobson/op-type-doc
Fix docs on grpc_op_type.
-rw-r--r--include/grpc/grpc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/grpc/grpc.h b/include/grpc/grpc.h
index 62ee2a1505..73c30118a4 100644
--- a/include/grpc/grpc.h
+++ b/include/grpc/grpc.h
@@ -221,7 +221,7 @@ typedef enum {
GRPC_OP_SEND_INITIAL_METADATA = 0,
/* Send a message: 0 or more of these operations can occur for each call */
GRPC_OP_SEND_MESSAGE,
- /* Send a close from the server: one and only one instance MUST be sent from
+ /* Send a close from the client: one and only one instance MUST be sent from
the client,
unless the call was cancelled - in which case this can be skipped */
GRPC_OP_SEND_CLOSE_FROM_CLIENT,
@@ -240,7 +240,7 @@ typedef enum {
the status will indicate some failure.
*/
GRPC_OP_RECV_STATUS_ON_CLIENT,
- /* Receive status on the server: one and only one must be made on the server
+ /* Receive close on the server: one and only one must be made on the server
*/
GRPC_OP_RECV_CLOSE_ON_SERVER
} grpc_op_type;