|
|
@ -53,7 +53,7 @@ static grpc_error *conforms_to(grpc_slice slice, const uint8_t *legal_bits, |
|
|
|
if ((legal_bits[byte] & (1 << bit)) == 0) { |
|
|
|
if ((legal_bits[byte] & (1 << bit)) == 0) { |
|
|
|
char *dump = grpc_dump_slice(slice, GPR_DUMP_HEX | GPR_DUMP_ASCII); |
|
|
|
char *dump = grpc_dump_slice(slice, GPR_DUMP_HEX | GPR_DUMP_ASCII); |
|
|
|
grpc_error *error = grpc_error_set_str( |
|
|
|
grpc_error *error = grpc_error_set_str( |
|
|
|
grpc_error_set_int(GRPC_ERROR_CREATE_FROM_STATIC_STRING(err_desc), |
|
|
|
grpc_error_set_int(GRPC_ERROR_CREATE_FROM_COPIED_STRING(err_desc), |
|
|
|
GRPC_ERROR_INT_OFFSET, |
|
|
|
GRPC_ERROR_INT_OFFSET, |
|
|
|
p - GRPC_SLICE_START_PTR(slice)), |
|
|
|
p - GRPC_SLICE_START_PTR(slice)), |
|
|
|
GRPC_ERROR_STR_RAW_BYTES, grpc_slice_from_copied_string(dump)); |
|
|
|
GRPC_ERROR_STR_RAW_BYTES, grpc_slice_from_copied_string(dump)); |
|
|
|