some typo errors

pull/19193/head
yuangongji (A) 6 years ago
parent d80650db31
commit 8c27e86b8b
  1. 2
      include/grpc/grpc_security_constants.h
  2. 2
      include/grpc/impl/codegen/gpr_types.h
  3. 4
      include/grpc/slice.h

@ -96,7 +96,7 @@ typedef enum {
/** Server requests client certificate and enforces that the client presents a /** Server requests client certificate and enforces that the client presents a
certificate. certificate.
The cerificate presented by the client is verified by the gRPC framework. The certificate presented by the client is verified by the gRPC framework.
(For a successful connection the client needs to present a certificate that (For a successful connection the client needs to present a certificate that
can be verified against the root certificate configured by the server) can be verified against the root certificate configured by the server)

@ -48,7 +48,7 @@ typedef struct gpr_timespec {
int64_t tv_sec; int64_t tv_sec;
int32_t tv_nsec; int32_t tv_nsec;
/** Against which clock was this time measured? (or GPR_TIMESPAN if /** Against which clock was this time measured? (or GPR_TIMESPAN if
this is a relative time meaure) */ this is a relative time measure) */
gpr_clock_type clock_type; gpr_clock_type clock_type;
} gpr_timespec; } gpr_timespec;

@ -107,7 +107,7 @@ GPRAPI grpc_slice grpc_slice_sub_no_ref(grpc_slice s, size_t begin, size_t end);
/** Splits s into two: modifies s to be s[0:split], and returns a new slice, /** Splits s into two: modifies s to be s[0:split], and returns a new slice,
sharing a refcount with s, that contains s[split:s.length]. sharing a refcount with s, that contains s[split:s.length].
Requires s intialized, split <= s.length */ Requires s initialized, split <= s.length */
GPRAPI grpc_slice grpc_slice_split_tail(grpc_slice* s, size_t split); GPRAPI grpc_slice grpc_slice_split_tail(grpc_slice* s, size_t split);
typedef enum { typedef enum {
@ -124,7 +124,7 @@ GPRAPI grpc_slice grpc_slice_split_tail_maybe_ref(grpc_slice* s, size_t split,
/** Splits s into two: modifies s to be s[split:s.length], and returns a new /** Splits s into two: modifies s to be s[split:s.length], and returns a new
slice, sharing a refcount with s, that contains s[0:split]. slice, sharing a refcount with s, that contains s[0:split].
Requires s intialized, split <= s.length */ Requires s initialized, split <= s.length */
GPRAPI grpc_slice grpc_slice_split_head(grpc_slice* s, size_t split); GPRAPI grpc_slice grpc_slice_split_head(grpc_slice* s, size_t split);
GPRAPI grpc_slice grpc_empty_slice(void); GPRAPI grpc_slice grpc_empty_slice(void);

Loading…
Cancel
Save