aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/transport
diff options
context:
space:
mode:
authorGravatar Hope Casey-Allen <hcaseyal@google.com>2018-09-11 08:52:59 -0700
committerGravatar Hope Casey-Allen <hcaseyal@google.com>2018-09-11 08:52:59 -0700
commit0b4e263fdf5d4be817f1ad7b93a0b7328aff97f1 (patch)
treebfcf165cbf3c733cfc4de804da92d3d7397eda91 /src/core/lib/transport
parentb731178a7ccc1c6a0da26a410b71840d08ab37af (diff)
Small formatting and style changes
Diffstat (limited to 'src/core/lib/transport')
-rw-r--r--src/core/lib/transport/metadata_batch.cc1
-rw-r--r--src/core/lib/transport/static_metadata.cc2
-rw-r--r--src/core/lib/transport/static_metadata.h2
3 files changed, 2 insertions, 3 deletions
diff --git a/src/core/lib/transport/metadata_batch.cc b/src/core/lib/transport/metadata_batch.cc
index b7ab4cc7b9..49740fcd1e 100644
--- a/src/core/lib/transport/metadata_batch.cc
+++ b/src/core/lib/transport/metadata_batch.cc
@@ -109,7 +109,6 @@ static grpc_error* maybe_link_callout(grpc_metadata_batch* batch,
batch->idx.array[idx] = storage;
return GRPC_ERROR_NONE;
}
-
return grpc_attach_md_to_error(
GRPC_ERROR_CREATE_FROM_STATIC_STRING("Unallowed duplicate metadata"),
storage->md);
diff --git a/src/core/lib/transport/static_metadata.cc b/src/core/lib/transport/static_metadata.cc
index 7e6e5191b5..7e750ff3d2 100644
--- a/src/core/lib/transport/static_metadata.cc
+++ b/src/core/lib/transport/static_metadata.cc
@@ -24,7 +24,7 @@
* an explanation of what's going on.
*/
-#include <grpc/impl/codegen/port_platform.h>
+#include <grpc/support/port_platform.h>
#include "src/core/lib/transport/static_metadata.h"
diff --git a/src/core/lib/transport/static_metadata.h b/src/core/lib/transport/static_metadata.h
index a2735767ef..44a0c5d8d4 100644
--- a/src/core/lib/transport/static_metadata.h
+++ b/src/core/lib/transport/static_metadata.h
@@ -27,7 +27,7 @@
#ifndef GRPC_CORE_LIB_TRANSPORT_STATIC_METADATA_H
#define GRPC_CORE_LIB_TRANSPORT_STATIC_METADATA_H
-#include <grpc/impl/codegen/port_platform.h>
+#include <grpc/support/port_platform.h>
#include "src/core/lib/transport/metadata.h"