aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/security
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-12-13 16:40:38 -0800
committerGravatar Craig Tiller <ctiller@google.com>2017-01-06 14:52:01 -0800
commit732351f8267e51711abd3a390d940c8177871c97 (patch)
tree8fede2296fb7bfbe009f9f86e15aa61b7349f38f /src/core/lib/security
parent255edaa32e236c8e30d378517e64b507e5b765a9 (diff)
Start fixing http error --> grpc status conversion
Diffstat (limited to 'src/core/lib/security')
-rw-r--r--src/core/lib/security/transport/server_auth_filter.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/lib/security/transport/server_auth_filter.c b/src/core/lib/security/transport/server_auth_filter.c
index 6b04ad2385..36e81d6501 100644
--- a/src/core/lib/security/transport/server_auth_filter.c
+++ b/src/core/lib/security/transport/server_auth_filter.c
@@ -130,7 +130,6 @@ static void on_md_processing_done(
grpc_metadata_array_destroy(&calld->md);
grpc_closure_sched(&exec_ctx, calld->on_done_recv, GRPC_ERROR_NONE);
} else {
- grpc_slice message;
for (size_t i = 0; i < calld->md.count; i++) {
grpc_slice_unref_internal(&exec_ctx, calld->md.metadata[i].key);
grpc_slice_unref_internal(&exec_ctx, calld->md.metadata[i].value);
@@ -139,7 +138,6 @@ static void on_md_processing_done(
error_details = error_details != NULL
? error_details
: "Authentication metadata processing failed.";
- message = grpc_slice_from_copied_string(error_details);
calld->transport_op->send_initial_metadata = NULL;
if (calld->transport_op->send_message != NULL) {
grpc_byte_stream_destroy(&exec_ctx, calld->transport_op->send_message);