aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/transport/transport_op_string.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/lib/transport/transport_op_string.c')
-rw-r--r--src/core/lib/transport/transport_op_string.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/lib/transport/transport_op_string.c b/src/core/lib/transport/transport_op_string.c
index a862401df2..aede337e7c 100644
--- a/src/core/lib/transport/transport_op_string.c
+++ b/src/core/lib/transport/transport_op_string.c
@@ -119,7 +119,7 @@ char *grpc_transport_stream_op_string(grpc_transport_stream_op *op) {
gpr_strvec_add(&b, gpr_strdup("RECV_TRAILING_METADATA"));
}
- if (op->cancel_error != GRPC_STATUS_OK) {
+ if (op->cancel_error != GRPC_ERROR_NONE) {
if (!first) gpr_strvec_add(&b, gpr_strdup(" "));
first = 0;
const char *msg = grpc_error_string(op->cancel_error);
@@ -128,7 +128,7 @@ char *grpc_transport_stream_op_string(grpc_transport_stream_op *op) {
gpr_strvec_add(&b, tmp);
}
- if (op->close_error != GRPC_STATUS_OK) {
+ if (op->close_error != GRPC_ERROR_NONE) {
if (!first) gpr_strvec_add(&b, gpr_strdup(" "));
first = 0;
const char *msg = grpc_error_string(op->close_error);