aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2016-09-30 16:28:24 -0700
committerGravatar Muxi Yan <mxyan@google.com>2016-09-30 16:28:24 -0700
commit0814e3cb179513a1ef96141f51e410416c2fea62 (patch)
tree832639a60788b5bb24f07ac31726011af4022105 /src/core
parent1bd5c77a655ade2bcc39110996dcdec16209e105 (diff)
Minor fixes
Diffstat (limited to 'src/core')
-rw-r--r--src/core/ext/transport/cronet/transport/cronet_transport.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ext/transport/cronet/transport/cronet_transport.c b/src/core/ext/transport/cronet/transport/cronet_transport.c
index 6d5fe318cc..6b0ed12b1e 100644
--- a/src/core/ext/transport/cronet/transport/cronet_transport.c
+++ b/src/core/ext/transport/cronet/transport/cronet_transport.c
@@ -566,10 +566,10 @@ static void convert_metadata_to_cronet_headers(
}
if (mdelem->key == GRPC_MDSTR_METHOD) {
if (mdelem->value == GRPC_MDSTR_PUT) {
- *method = (const char*)mdelem->value->slice.data.refcounted.bytes;
+ *method = "PUT";
} else {
/* POST method in default*/
- *method = (const char*)(GRPC_MDSTR_POST->slice.data.refcounted.bytes);
+ *method = "POST";
}
continue;
}