aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cpp/common/channel_filter.h
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-01-09 14:50:27 -0800
committerGravatar Craig Tiller <ctiller@google.com>2017-01-09 14:50:27 -0800
commit5cf481d2c90586626ba01d53d077608b77ccddc5 (patch)
tree5c47f33b82e46b1820f50a04f240277de5f6a868 /src/cpp/common/channel_filter.h
parentd04dc4da81ec25af6eb117ccf17232341fdadeee (diff)
Fix C++ build
Diffstat (limited to 'src/cpp/common/channel_filter.h')
-rw-r--r--src/cpp/common/channel_filter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpp/common/channel_filter.h b/src/cpp/common/channel_filter.h
index 6f524daf15..5f9fd8790b 100644
--- a/src/cpp/common/channel_filter.h
+++ b/src/cpp/common/channel_filter.h
@@ -133,7 +133,7 @@ class TransportOp {
grpc_error *disconnect_with_error() const {
return op_->disconnect_with_error;
}
- bool send_goaway() const { return op_->send_goaway; }
+ bool send_goaway() const { return op_->goaway_error != GRPC_ERROR_NONE; }
// TODO(roth): Add methods for additional fields as needed.