aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/transport/error_utils.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/lib/transport/error_utils.cc')
-rw-r--r--src/core/lib/transport/error_utils.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lib/transport/error_utils.cc b/src/core/lib/transport/error_utils.cc
index ffaf327081..891576f4ba 100644
--- a/src/core/lib/transport/error_utils.cc
+++ b/src/core/lib/transport/error_utils.cc
@@ -70,7 +70,7 @@ void grpc_error_get_status(grpc_error* error, grpc_millis deadline,
}
if (code != nullptr) *code = status;
- if (error_string != NULL && status != GRPC_STATUS_OK) {
+ if (error_string != nullptr && status != GRPC_STATUS_OK) {
*error_string = gpr_strdup(grpc_error_string(error));
}