Initialize some members

pull/151/head
Craig Tiller 10 years ago
parent c6dffe5c51
commit 53d5f9d887
  1. 3
      src/core/channel/http_server_filter.c

@ -282,6 +282,9 @@ static void init_channel_elem(grpc_channel_element *elem,
channeld->content_type =
grpc_mdelem_from_strings(mdctx, "content-type", "application/grpc");
/* initialize http download support */
channeld->gettable_count = 0;
channeld->gettables = NULL;
for (i = 0; i < args->num_args; i++) {
if (0 == strcmp(args->args[i].key, GRPC_ARG_SERVE_OVER_HTTP)) {
gettable *g;

Loading…
Cancel
Save