Преглед изворни кода

Fix comment for init_channel_elem to refer to elem->channel_data, not elem->call_data

Hope Casey-Allen пре 8 година
родитељ
комит
f88354dc82
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/core/lib/channel/channel_stack.h

+ 1 - 1
src/core/lib/channel/channel_stack.h

@@ -138,7 +138,7 @@ typedef struct {
      is_first, is_last designate this elements position in the stack, and are
      is_first, is_last designate this elements position in the stack, and are
      useful for asserting correct configuration by upper layer code.
      useful for asserting correct configuration by upper layer code.
      The filter does not need to do any chaining.
      The filter does not need to do any chaining.
-     Implementations may assume that elem->call_data is all zeros. */
+     Implementations may assume that elem->channel_data is all zeros. */
   grpc_error* (*init_channel_elem)(grpc_channel_element* elem,
   grpc_error* (*init_channel_elem)(grpc_channel_element* elem,
                                    grpc_channel_element_args* args);
                                    grpc_channel_element_args* args);
   /* Destroy per channel data.
   /* Destroy per channel data.