Get ASAN building again

reviewable/pr8842/r2
Craig Tiller 8 years ago
parent 78e4bf629c
commit 4f8a11e5c7
  1. 2
      src/core/lib/transport/timeout_encoding.h
  2. 5
      test/core/end2end/invalid_call_argument_test.c

@ -34,7 +34,9 @@
#ifndef GRPC_CORE_LIB_TRANSPORT_TIMEOUT_ENCODING_H
#define GRPC_CORE_LIB_TRANSPORT_TIMEOUT_ENCODING_H
#include <grpc/slice.h>
#include <grpc/support/time.h>
#include "src/core/lib/support/string.h"
#define GRPC_HTTP2_TIMEOUT_ENCODE_MIN_BUFSIZE (GPR_LTOA_MIN_BUFSIZE + 1)

@ -576,9 +576,8 @@ static void test_invalid_initial_metadata_reserved_key() {
gpr_log(GPR_INFO, "test_invalid_initial_metadata_reserved_key");
grpc_metadata metadata;
metadata.key = ":start_with_colon";
metadata.value = "value";
metadata.value_length = 6;
metadata.key = grpc_slice_from_static_string(":start_with_colon");
metadata.value = grpc_slice_from_static_string("value");
grpc_op *op;
prepare_test(1);

Loading…
Cancel
Save